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 17:26Andrew EpsteinAndrew EpsteinScore: 536,833Success
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 17:30533,88417,629,978,42717,470,786,000147,400,0002,125,824stderr
2Sep 18, 2026 17:30534,30717,643,724,41917,485,095,000147,037,0002,125,824stderr
3Sep 18, 2026 17:30534,95317,665,975,20317,507,719,000145,746,0002,125,824stderr
4Sep 18, 2026 17:30536,34517,710,147,63617,554,834,000144,555,0002,125,824stderr
5Sep 18, 2026 17:30536,83317,726,203,06117,568,604,000146,916,0002,125,824stderr
6Sep 18, 2026 17:30536,96717,731,418,62017,573,623,000146,307,0002,125,824stderr
7Sep 18, 2026 17:30538,96217,796,470,66917,639,604,000146,162,0002,125,824stderr
8Sep 18, 2026 17:30539,78517,823,562,54817,666,118,000146,787,0002,125,824stderr
9Sep 18, 2026 17:30540,18917,838,149,50317,680,564,000145,676,0002,125,824stderr