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 13, 2026 18:00Oleg SkinderevOleg SkinderevScore: 34,062Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 18:0033,8991,158,622,3411,105,678,00012,996,0002,375,680
2Apr 13, 2026 18:0033,9661,147,667,1691,107,885,00012,998,0002,330,624
3Apr 13, 2026 18:0033,9741,152,745,9221,104,146,00016,986,0002,273,280
4Apr 13, 2026 18:0034,0581,158,288,0091,100,944,00022,977,0002,449,408
5Apr 13, 2026 18:0034,0621,147,760,6341,109,070,00014,987,0002,334,720
6Apr 13, 2026 18:0034,1451,161,151,5071,110,802,00015,997,0002,273,280
7Apr 13, 2026 18:0034,2261,156,569,8021,113,479,00015,992,0002,383,872
8Apr 13, 2026 18:0034,3011,164,632,0621,113,959,00017,983,0002,273,280
9Apr 13, 2026 18:0034,3081,162,932,3381,116,175,00015,988,0002,297,856