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 23:11Victor MerckléVictor MerckléScore: 5,184Success
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 23:125,176178,306,730134,031,00036,783,0002,117,632stderr
2Jun 22, 2026 23:125,180178,839,780133,231,00037,710,0002,117,632stderr
3Jun 22, 2026 23:125,182178,506,178134,147,00036,869,0002,117,632stderr
4Jun 22, 2026 23:125,183178,636,102133,564,00037,483,0002,117,632stderr
5Jun 22, 2026 23:125,184179,113,037134,313,00036,759,0002,117,632stderr
6Jun 22, 2026 23:125,186179,728,928134,167,00036,974,0002,117,632stderr
7Jun 22, 2026 23:125,198179,186,118134,044,00037,509,0002,117,632stderr
8Jun 22, 2026 23:125,204179,411,885134,840,00036,913,0002,117,632stderr
9Jun 22, 2026 23:125,207179,512,751134,205,00037,631,0002,117,632stderr