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 listApr 27, 2026 17:26Victor MerckléVictor MerckléScore: 27,104Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 17:2726,791898,340,377877,116,0007,000,0002,322,432
2Apr 27, 2026 17:2726,885903,612,080874,239,00012,988,0002,437,120
3Apr 27, 2026 17:2727,070911,986,521883,343,0009,992,0002,437,120
4Apr 27, 2026 17:2727,093912,367,848882,086,00011,987,0002,498,560
5Apr 27, 2026 17:2727,104913,299,010883,458,00010,993,0002,433,024
6Apr 27, 2026 17:2727,143916,613,194884,736,00010,996,0002,404,352
7Apr 27, 2026 17:2727,231920,956,500886,636,00011,995,0002,318,336
8Apr 27, 2026 17:2727,268914,327,029892,846,0006,998,0002,445,312
9Apr 27, 2026 17:2728,155944,825,161913,157,00015,985,0002,301,952