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 listSep 3, 2024 16:10AnSaAnSaScore: 72,821Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2024 16:1072,1542,416,044,4992,348,097,00032,987,0002,514,944
2Sep 3, 2024 16:1072,3212,413,786,5252,347,603,00038,976,0002,457,600
3Sep 3, 2024 16:1072,3332,414,769,6192,349,990,00036,984,0002,400,256
4Sep 3, 2024 16:1072,3612,422,228,7822,349,934,00037,982,0002,359,296
5Sep 3, 2024 16:1072,8212,433,739,5332,366,125,00036,970,0002,396,160
6Sep 3, 2024 16:1072,9942,442,240,1332,371,840,00036,966,0002,367,488
7Sep 3, 2024 16:1073,2502,445,814,8042,378,278,00038,971,0002,359,296
8Sep 3, 2024 16:1073,7552,464,930,9202,399,956,00033,956,0002,396,160
9Sep 3, 2024 16:1074,1232,480,611,2862,407,104,00038,953,0002,400,256