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 listAug 24, 2026 17:06Andrew EpsteinAndrew EpsteinScore: 20,680Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2026 17:0720,487685,857,681648,146,00027,930,0002,113,536
2Aug 24, 2026 17:0720,631690,797,435652,276,00028,558,0002,113,536
3Aug 24, 2026 17:0720,657691,669,486653,734,00027,961,0002,113,536
4Aug 24, 2026 17:0720,657691,556,117653,559,00028,145,0002,113,536
5Aug 24, 2026 17:0720,680692,377,658653,887,00028,558,0002,113,536
6Aug 24, 2026 17:0720,743694,485,750655,608,00028,927,0002,113,536
7Aug 24, 2026 17:0720,763695,220,111657,190,00028,009,0002,113,536
8Aug 24, 2026 17:0720,790696,029,574657,400,00028,697,0002,113,536
9Aug 24, 2026 17:0720,880699,006,151660,233,00028,832,0002,113,536