Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listMay 22, 2021 23:41Vasily TitskiyVasily TitskiyScore: 270,110Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 23:41268,3328,933,273,3108,854,949,27702,248,704
2May 22, 2021 23:46268,9768,942,736,9988,876,209,30702,191,360
3May 22, 2021 23:46270,0248,981,811,7448,910,792,37902,215,936
4May 22, 2021 23:41270,1108,977,349,8518,913,624,54502,187,264
5May 22, 2021 23:41271,5609,026,449,1538,961,475,53402,236,416
6May 22, 2021 23:46272,2389,040,211,2238,983,853,61202,281,472