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 listJan 11, 2026 14:22Pavel SkripkinPavel SkripkinScore: 52,184Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2026 14:2251,7251,735,378,9321,700,923,0005,996,0002,281,472
2Jan 11, 2026 14:2251,8021,736,777,8901,703,481,0005,998,0002,277,376
3Jan 11, 2026 14:2251,9181,738,898,7361,708,312,0004,997,0002,424,832
4Jan 11, 2026 14:2251,9211,737,410,2541,708,392,0004,998,0002,277,376
5Jan 11, 2026 14:2252,1841,746,743,3961,717,060,0004,997,0002,433,024
6Jan 11, 2026 14:2252,4451,761,299,0401,723,676,0006,994,0002,514,944
7Jan 11, 2026 14:2252,8851,766,100,4851,740,216,0004,997,0002,433,024
8Jan 11, 2026 14:2254,0151,813,156,1421,776,507,0005,994,0002,281,472
9Jan 11, 2026 14:2254,2701,817,167,2941,785,901,0004,996,0002,338,816