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 00:30Victor MerckléVictor MerckléScore: 21,767Success
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 00:3121,489716,791,105672,557,00036,584,0002,117,632stderr
2Jun 27, 2026 00:3121,602720,470,242675,198,00037,680,0002,117,632stderr
3Jun 27, 2026 00:3121,669723,692,254677,508,00037,577,0002,117,632stderr
4Jun 27, 2026 00:3121,727724,822,034679,348,00037,647,0002,117,632stderr
5Jun 27, 2026 00:3121,767726,010,490680,690,00037,642,0002,117,632stderr
6Jun 27, 2026 00:3121,854728,816,988683,658,00037,555,0002,117,632stderr
7Jun 27, 2026 00:3121,966732,969,129687,288,00037,600,0002,117,632stderr
8Jun 27, 2026 00:3122,076736,413,261690,902,00037,614,0002,117,632stderr
9Jun 27, 2026 00:3122,117737,535,294692,340,00037,539,0002,117,632stderr