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 listOct 29, 2026 22:24Andrew EpsteinAndrew EpsteinScore: 49,913Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2026 22:2649,5641,646,822,9401,628,474,0007,164,0002,121,728stderr
2Oct 29, 2026 22:2649,6071,648,784,6011,629,657,0007,401,0002,125,824stderr
3Oct 29, 2026 22:2649,7861,654,348,7791,635,605,0007,356,0002,125,824stderr
4Oct 29, 2026 22:2649,8391,655,648,4731,637,287,0007,428,0002,121,728stderr
5Oct 29, 2026 22:2649,9131,658,269,2201,639,850,0007,295,0002,125,824stderr
6Oct 29, 2026 22:2649,9681,660,069,6671,641,672,0007,302,0002,121,728stderr
7Oct 29, 2026 22:2650,1391,666,067,5831,647,263,0007,349,0002,125,824stderr
8Oct 29, 2026 22:2650,2051,668,225,6661,649,393,0007,387,0002,121,728stderr
9Oct 29, 2026 22:2650,3081,671,203,0871,652,771,0007,415,0002,121,728stderr