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 05:22Victor MerckléVictor MerckléScore: 4,809Success
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 05:224,793165,850,340121,532,00036,642,0002,117,632stderr
2Jun 27, 2026 05:224,796165,932,910121,501,00036,775,0002,117,632stderr
3Jun 27, 2026 05:224,802166,211,178121,587,00036,885,0002,117,632stderr
4Jun 27, 2026 05:224,806166,734,214121,804,00036,798,0002,117,632stderr
5Jun 27, 2026 05:224,809166,532,852121,885,00036,815,0002,117,632stderr
6Jun 27, 2026 05:224,811166,885,810121,832,00036,941,0002,117,632stderr
7Jun 27, 2026 05:224,822166,922,769122,275,00036,859,0002,117,632stderr
8Jun 27, 2026 05:224,822167,327,628122,185,00036,958,0002,117,632stderr
9Jun 27, 2026 05:224,830167,482,755122,364,00037,028,0002,117,632stderr