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 12:14Victor MerckléVictor MerckléScore: 71,531Success
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 12:1560,6162,008,399,2211,959,982,00040,377,0002,117,632stderr
2Jun 27, 2026 12:1563,8802,115,855,1302,067,648,00040,393,0002,117,632stderr
3Jun 27, 2026 12:1565,2532,161,495,3642,113,807,00039,570,0002,117,632stderr
4Jun 27, 2026 12:1571,0942,353,946,1412,304,711,00041,400,0002,117,632stderr
5Jun 27, 2026 12:1571,5312,368,320,8952,320,097,00040,456,0002,117,632stderr
6Jun 27, 2026 12:1571,8262,378,089,4082,328,953,00041,323,0002,117,632stderr
7Jun 27, 2026 12:1573,9992,449,820,5962,402,676,00039,297,0002,117,632stderr
8Jun 27, 2026 12:1576,3252,527,020,7692,479,373,00039,352,0002,117,632stderr
9Jun 27, 2026 12:1578,0142,582,199,4382,534,139,00040,343,0002,117,632stderr