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 28, 2026 15:25Victor MerckléVictor MerckléScore: 81,010Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2026 15:2675,0462,484,618,2372,470,127,0006,417,0002,117,632stderr
2Jun 28, 2026 15:2677,7002,571,958,6192,557,804,0006,299,0002,117,632stderr
3Jun 28, 2026 15:2679,7632,640,076,1012,625,917,0006,288,0002,117,632stderr
4Jun 28, 2026 15:2679,8862,644,105,2522,629,810,0006,440,0002,117,632stderr
5Jun 28, 2026 15:2681,0102,681,323,7052,667,013,0006,324,0002,117,632stderr
6Jun 28, 2026 15:2681,6152,701,102,0622,686,934,0006,379,0002,117,632stderr
7Jun 28, 2026 15:2685,2952,822,778,4702,808,409,0006,328,0002,117,632stderr
8Jun 28, 2026 15:2685,4732,828,388,9462,814,237,0006,375,0002,117,632stderr
9Jun 28, 2026 15:2687,5592,898,084,4372,883,069,0006,383,0002,117,632stderr