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 27, 2026 12:43Victor MerckléVictor MerckléScore: 64,289Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 12:4563,4962,103,173,7202,055,264,00040,112,0002,117,632stderr
2Jun 27, 2026 12:4563,9892,119,470,0222,069,456,00042,202,0002,117,632stderr
3Jun 27, 2026 12:4564,2532,128,271,8552,080,195,00040,183,0002,117,632stderr
4Jun 27, 2026 12:4564,2862,129,945,3972,080,349,00041,103,0002,117,632stderr
5Jun 27, 2026 12:4564,2892,129,355,0132,081,527,00040,042,0002,117,632stderr
6Jun 27, 2026 12:4565,5852,172,124,5712,122,147,00042,161,0002,117,632stderr
7Jun 27, 2026 12:4565,8792,182,210,5042,132,766,00041,254,0002,117,632stderr
8Jun 27, 2026 12:4566,0552,187,673,9582,137,619,00042,211,0002,117,632stderr
9Jun 27, 2026 12:4566,1102,189,715,1882,139,708,00041,938,0002,117,632stderr