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 01:43Victor MerckléVictor MerckléScore: 13,695Success
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 01:4413,649458,113,161402,931,00047,496,0002,117,632stderr
2Jun 27, 2026 01:4413,670458,918,596404,402,00046,722,0002,117,632stderr
3Jun 27, 2026 01:4413,690459,385,875404,644,00047,145,0002,117,632stderr
4Jun 27, 2026 01:4413,691459,682,445404,689,00047,128,0002,117,632stderr
5Jun 27, 2026 01:4413,695459,505,366404,405,00047,561,0002,117,632stderr
6Jun 27, 2026 01:4413,698459,508,108404,402,00047,634,0002,117,632stderr
7Jun 27, 2026 01:4413,750461,412,215406,106,00047,668,0002,117,632stderr
8Jun 27, 2026 01:4413,750461,423,327406,289,00047,488,0002,117,632stderr
9Jun 27, 2026 01:4413,754461,405,322406,135,00047,757,0002,117,632stderr