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 31, 2026 00:06Andrew EpsteinAndrew EpsteinScore: 35,959Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 00:0735,6701,188,633,6011,169,782,0007,357,0002,121,728stderr
2Oct 31, 2026 00:0735,7401,190,479,7071,172,290,0007,154,0002,121,728stderr
3Oct 31, 2026 00:0735,7941,192,590,2041,173,804,0007,401,0002,121,728stderr
4Oct 31, 2026 00:0735,9271,196,563,3521,178,287,0007,333,0002,121,728stderr
5Oct 31, 2026 00:0735,9591,198,164,2961,179,227,0007,424,0002,121,728stderr
6Oct 31, 2026 00:0735,9771,198,263,4251,179,964,0007,303,0002,121,728stderr
7Oct 31, 2026 00:0736,0491,200,993,0061,182,178,0007,461,0002,121,728stderr
8Oct 31, 2026 00:0736,1131,202,798,2171,184,319,0007,428,0002,121,728stderr
9Oct 31, 2026 00:0736,3721,211,198,4381,193,043,0007,251,0002,121,728stderr