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 14, 2026 16:43Oleg SkinderevOleg SkinderevScore: 34,103Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2026 16:4333,9711,149,226,2371,105,062,00015,986,0002,273,280
2Apr 14, 2026 16:4334,1031,149,244,8381,108,416,00016,991,0002,396,160
3Apr 14, 2026 16:4334,1661,149,522,1731,104,488,00022,989,0002,387,968