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 listNov 6, 2024 19:43antof286antof286Score: 474,249Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 19:43468,95415,509,614,72815,372,561,000102,936,0002,469,888
2Nov 6, 2024 19:43470,03915,546,847,94815,406,349,000104,941,0002,281,472
3Nov 6, 2024 19:43472,75215,640,492,28315,507,881,00092,945,0002,338,816
4Nov 6, 2024 19:43473,84615,671,167,60415,545,991,00090,941,0002,486,272
5Nov 6, 2024 19:43474,24915,683,580,69915,536,295,000113,928,0002,289,664
6Nov 6, 2024 19:43474,45415,696,067,53515,553,028,000103,940,0002,334,720
7Nov 6, 2024 19:43474,78415,708,341,27115,569,917,00097,942,0002,301,952
8Nov 6, 2024 19:43476,31515,754,478,84315,622,476,00095,935,0002,449,408
9Nov 6, 2024 19:43478,63315,829,813,96315,692,957,000101,941,0002,297,856