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 listJun 11, 2026 02:32Maya RebholzMaya RebholzError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2026 02:3301,460,406,0711,432,387,00018,279,0002,117,632expected "1026242 ", got "1026241 "
2Jun 11, 2026 02:3301,461,011,2951,432,780,00018,536,0002,117,632expected "1022431 ", got "1022430 "
3Jun 11, 2026 02:3343,5981,448,389,6781,419,176,00019,564,0002,117,632
4Jun 11, 2026 02:3343,8461,456,592,7691,427,096,00019,853,0002,121,728
5Jun 11, 2026 02:3343,8681,457,483,4961,427,865,00019,793,0002,117,632
6Jun 11, 2026 02:3343,8771,457,804,3571,427,871,00020,101,0002,117,632
7Jun 11, 2026 02:3343,9671,460,580,2501,431,020,00019,892,0002,117,632
8Jun 11, 2026 02:3343,9901,461,330,4341,433,211,00018,480,0002,117,632
9Jun 11, 2026 02:3344,4011,474,633,8411,444,924,00020,310,0002,117,632