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 25, 2026 19:10Charles CabergsCharles CabergsScore: 34,790Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2026 19:1134,0981,141,457,1591,116,272,0008,994,0002,408,448
2Apr 25, 2026 19:1134,4181,151,267,0031,130,809,0004,999,0002,334,720
3Apr 25, 2026 19:1134,4211,156,560,3181,127,904,0007,999,0002,330,624
4Apr 25, 2026 19:1134,7441,165,680,6301,138,568,0007,996,0002,322,432
5Apr 25, 2026 19:1134,7901,165,271,2001,139,073,0009,000,0002,514,944
6Apr 25, 2026 19:1134,8611,166,894,5251,143,433,0006,996,0002,334,720
7Apr 25, 2026 19:1135,5751,194,311,6051,165,010,0008,992,0002,330,624
8Apr 25, 2026 19:1135,6551,194,691,0461,168,626,0007,997,0002,322,432
9Apr 25, 2026 19:1137,1161,241,715,4411,217,845,0006,993,0002,371,584