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 18, 2026 17:48Andrew EpsteinAndrew EpsteinScore: 85,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 17:4985,0622,819,199,4912,779,706,00027,359,0002,121,728stderr
2Sep 18, 2026 17:4985,0782,822,572,3832,779,864,00027,720,0002,121,728stderr
3Sep 18, 2026 17:4985,2112,826,679,9652,784,572,00027,392,0002,121,728stderr
4Sep 18, 2026 17:4985,4422,834,445,6512,791,749,00027,838,0002,121,728stderr
5Sep 18, 2026 17:4985,4682,831,700,6422,792,943,00027,532,0002,121,728stderr
6Sep 18, 2026 17:4985,5972,838,994,1902,797,099,00027,632,0002,121,728stderr
7Sep 18, 2026 17:4985,7802,841,166,5392,802,735,00028,022,0002,121,728stderr
8Sep 18, 2026 17:4985,8462,843,552,6332,804,305,00028,620,0002,121,728stderr
9Sep 18, 2026 17:4986,1402,853,111,5412,814,611,00028,038,0002,121,728stderr