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:17Andrew EpsteinAndrew EpsteinScore: 64,155Success
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:1864,0822,125,220,2002,108,461,0006,264,0002,121,728stderr
2Sep 18, 2026 18:1864,0902,126,240,5602,108,700,0006,286,0002,121,728stderr
3Sep 18, 2026 18:1864,1002,125,816,7302,108,960,0006,367,0002,121,728stderr
4Sep 18, 2026 18:1864,1082,126,113,2842,109,223,0006,363,0002,121,728stderr
5Sep 18, 2026 18:1864,1552,128,297,4082,110,887,0006,256,0002,121,728stderr
6Sep 18, 2026 18:1864,3252,133,221,0922,116,444,0006,294,0002,121,728stderr
7Sep 18, 2026 18:1864,5022,139,776,6362,122,237,0006,344,0002,121,728stderr
8Sep 18, 2026 18:1864,6702,145,273,0002,127,770,0006,355,0002,121,728stderr
9Sep 18, 2026 18:1864,7322,147,313,9632,129,935,0006,235,0002,121,728stderr