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 19:24Andrew EpsteinAndrew EpsteinScore: 64,768Success
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 19:2664,5172,142,169,6492,122,822,0006,271,0002,121,728stderr
2Sep 18, 2026 19:2664,5322,140,185,4032,123,344,0006,222,0002,121,728stderr
3Sep 18, 2026 19:2664,6332,143,496,4032,127,690,0005,215,0002,121,728stderr
4Sep 18, 2026 19:2664,7322,146,709,7992,130,911,0005,267,0002,121,728stderr
5Sep 18, 2026 19:2664,7682,147,938,6562,132,188,0005,168,0002,121,728stderr
6Sep 18, 2026 19:2664,7712,148,703,8682,132,226,0005,231,0002,121,728stderr
7Sep 18, 2026 19:2665,1952,162,735,2892,146,301,0005,164,0002,121,728stderr
8Sep 18, 2026 19:2665,2602,164,244,2722,148,398,0005,200,0002,117,632stderr
9Sep 18, 2026 19:2665,2812,165,508,2072,149,054,0005,236,0002,121,728stderr