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 22:19Victor MerckléVictor MerckléScore: 10,389Success
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 22:2010,295347,503,086302,362,00037,383,0002,117,632stderr
2Jun 20, 2026 22:2010,303347,746,324302,554,00037,450,0002,117,632stderr
3Jun 20, 2026 22:2010,368350,235,787303,941,00038,217,0002,117,632stderr
4Jun 20, 2026 22:2010,383350,745,294305,218,00037,433,0002,117,632stderr
5Jun 20, 2026 22:2010,389350,327,374304,566,00038,283,0002,117,632stderr
6Jun 20, 2026 22:2010,495354,200,443308,949,00037,414,0002,117,632stderr
7Jun 20, 2026 22:2010,623358,524,744312,261,00038,298,0002,117,632stderr
8Jun 20, 2026 22:2010,670360,118,169314,681,00037,446,0002,117,632stderr
9Jun 20, 2026 22:2010,830364,903,051320,007,00037,410,0002,117,632stderr