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 22, 2026 17:21Victor MerckléVictor MerckléScore: 5,918Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2026 17:225,899203,679,403157,999,00036,680,0002,117,632stderr
2Jun 22, 2026 17:225,904202,538,027158,082,00036,769,0002,117,632stderr
3Jun 22, 2026 17:225,910202,998,743158,305,00036,756,0002,117,632stderr
4Jun 22, 2026 17:225,917203,226,973158,327,00036,946,0002,117,632stderr
5Jun 22, 2026 17:225,918203,233,009158,600,00036,722,0002,117,632stderr
6Jun 22, 2026 17:225,937203,936,841158,467,00037,479,0002,117,632stderr
7Jun 22, 2026 17:225,937203,563,872159,124,00036,829,0002,117,632stderr
8Jun 22, 2026 17:225,949204,143,535159,455,00036,864,0002,117,632stderr
9Jun 22, 2026 17:225,962204,433,667160,048,00036,724,0002,117,632stderr