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 listFeb 12, 2026 01:07olliecrowolliecrowScore: 14,577Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 12, 2026 01:0714,479501,020,112468,820,0008,996,0002,441,216
2Feb 12, 2026 01:0714,516501,578,486470,012,0009,000,0002,334,720
3Feb 12, 2026 01:0714,533507,490,335471,599,0007,993,0002,326,528
4Feb 12, 2026 01:0714,550508,587,463471,138,0009,002,0002,281,472
5Feb 12, 2026 01:0714,577504,066,761472,030,0009,000,0002,281,472
6Feb 12, 2026 01:0714,646510,176,199474,327,0009,006,0002,322,432
7Feb 12, 2026 01:0714,676514,090,009475,300,0009,005,0002,293,760
8Feb 12, 2026 01:0714,707520,661,216476,341,0009,006,0002,293,760
9Feb 12, 2026 01:0714,708512,908,927477,348,0008,005,0002,326,528