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 listOct 30, 2026 23:03Andrew EpsteinAndrew EpsteinScore: 2,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 23:042,70598,687,87087,999,0001,291,0002,117,632
2Oct 30, 2026 23:042,708100,210,11988,081,0001,284,0002,117,632
3Oct 30, 2026 23:042,72399,211,28688,593,0001,274,0002,117,632
4Oct 30, 2026 23:042,73199,673,86689,108,0001,036,0002,117,632
5Oct 30, 2026 23:042,73399,599,67589,119,0001,092,0002,117,632
6Oct 30, 2026 23:042,73499,656,77989,234,0001,006,0002,117,632
7Oct 30, 2026 23:042,753100,162,08889,820,0001,029,0002,117,632
8Oct 30, 2026 23:042,754100,286,05289,876,0001,033,0002,117,632
9Oct 30, 2026 23:043,089120,386,092100,947,0001,021,0002,117,632