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 6, 2026 19:06Pavel SkripkinPavel SkripkinScore: 17,807Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2026 19:0617,111587,163,950456,723,000107,934,0002,494,464
2Apr 6, 2026 19:0617,686604,818,582476,717,000106,936,0002,449,408
3Apr 6, 2026 19:0617,781618,022,113479,826,000106,961,0002,461,696
4Apr 6, 2026 19:0617,795606,950,531476,367,000110,852,0002,281,472
5Apr 6, 2026 19:0617,807611,701,355479,705,000107,933,0002,371,584
6Apr 6, 2026 19:0618,002616,629,379486,242,000107,831,0002,330,624
7Apr 6, 2026 19:0618,140626,110,327489,681,000108,929,0002,359,296
8Apr 6, 2026 19:0618,920644,798,607518,462,000105,890,0002,490,368
9Apr 6, 2026 19:0619,293667,358,746526,734,000109,944,0002,433,024