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 16:51Victor MerckléVictor MerckléScore: 18,499Success
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 16:5218,316612,773,902567,844,00036,590,0002,117,632stderr
2Jun 27, 2026 16:5218,323612,474,296568,141,00036,543,0002,117,632stderr
3Jun 27, 2026 16:5218,332612,793,741568,308,00036,649,0002,117,632stderr
4Jun 27, 2026 16:5218,490618,214,411572,680,00037,493,0002,117,632stderr
5Jun 27, 2026 16:5218,499618,433,088573,001,00037,489,0002,117,632stderr
6Jun 27, 2026 16:5218,499618,706,312572,916,00037,556,0002,117,632stderr
7Jun 27, 2026 16:5218,511618,612,300573,342,00037,532,0002,117,632stderr
8Jun 27, 2026 16:5218,516619,088,536573,300,00037,758,0002,117,632stderr
9Jun 27, 2026 16:5218,595621,379,845576,192,00037,450,0002,117,632stderr