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 10, 2026 19:34Oleg SkinderevOleg SkinderevScore: 219,894Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 19:34218,0867,230,639,9247,175,843,00020,987,0002,424,832
2Apr 10, 2026 19:34218,7217,244,613,4657,194,820,00022,986,0002,318,336
3Apr 10, 2026 19:34219,0087,264,403,2597,212,290,00014,990,0002,519,040
4Apr 10, 2026 19:34219,6147,279,773,9007,226,265,00020,989,0002,363,392
5Apr 10, 2026 19:34219,8947,286,604,4737,236,516,00019,987,0002,453,504
6Apr 10, 2026 19:34220,4187,306,329,3577,247,809,00025,984,0002,277,376
7Apr 10, 2026 19:34220,9547,322,239,8777,270,509,00020,989,0002,297,856
8Apr 10, 2026 19:34222,0807,364,115,3277,307,649,00020,987,0002,424,832
9Apr 10, 2026 19:34223,5047,408,434,9527,359,653,00015,990,0002,478,080