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 20, 2026 20:16Victor MerckléVictor MerckléScore: 11,446Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2026 20:1711,388383,922,737338,507,00037,320,0002,117,632stderr
2Jun 20, 2026 20:1711,389383,933,600338,633,00037,221,0002,117,632stderr
3Jun 20, 2026 20:1711,432385,268,198339,623,00037,644,0002,117,632stderr
4Jun 20, 2026 20:1711,441385,547,342339,269,00038,292,0002,117,632stderr
5Jun 20, 2026 20:1711,446385,756,830340,352,00037,366,0002,117,632stderr
6Jun 20, 2026 20:1711,539388,499,300343,657,00037,145,0002,117,632stderr
7Jun 20, 2026 20:1711,546389,150,949343,639,00037,383,0002,117,632stderr
8Jun 20, 2026 20:1711,784396,615,473351,655,00037,231,0002,117,632stderr
9Jun 20, 2026 20:1712,489420,139,763374,806,00037,357,0002,117,632stderr