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 listSep 18, 2026 18:15Andrew EpsteinAndrew EpsteinScore: 74,141Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 18:1673,6172,439,808,0982,421,157,0008,226,0002,121,728stderr
2Sep 18, 2026 18:1673,7532,444,364,8022,425,658,0008,203,0002,121,728stderr
3Sep 18, 2026 18:1673,8092,446,178,0542,427,513,0008,197,0002,121,728stderr
4Sep 18, 2026 18:1673,8252,447,168,6932,428,881,0007,356,0002,121,728stderr
5Sep 18, 2026 18:1674,1412,457,732,6902,439,349,0007,312,0002,121,728stderr
6Sep 18, 2026 18:1674,2202,459,723,1712,442,013,0007,274,0002,121,728stderr
7Sep 18, 2026 18:1674,3202,463,020,1742,445,185,0007,379,0002,121,728stderr
8Sep 18, 2026 18:1674,3282,463,346,1012,444,603,0008,246,0002,121,728stderr
9Sep 18, 2026 18:1674,4142,466,876,4162,447,367,0008,304,0002,121,728stderr