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 listApr 23, 2026 01:11Charles CabergsCharles CabergsScore: 37,887Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2026 01:1237,5841,256,918,2851,229,301,00010,993,0002,478,080
2Apr 23, 2026 01:1237,6001,263,811,2831,230,823,0009,998,0002,486,272
3Apr 23, 2026 01:1237,7031,266,973,3311,232,212,00011,992,0002,486,272
4Apr 23, 2026 01:1237,7051,262,840,9671,237,289,0007,001,0002,478,080
5Apr 23, 2026 01:1237,8871,267,402,3241,241,289,0008,994,0002,301,952
6Apr 23, 2026 01:1238,0661,272,651,0721,245,191,00010,992,0002,322,432
7Apr 23, 2026 01:1238,0831,281,087,8961,248,744,0007,998,0002,322,432
8Apr 23, 2026 01:1238,1061,278,027,8361,248,502,0008,996,0002,535,424
9Apr 23, 2026 01:1240,1551,349,900,9131,315,135,0009,993,0002,482,176