Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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 10, 2026 21:51Victor MerckléVictor MerckléScore: 73,285Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 10, 2026 21:5472,4102,172,305,7672,145,440,00016,935,0002,195,456
2Jun 10, 2026 21:5472,7622,182,872,4912,153,587,00016,301,0002,158,592
3Jun 10, 2026 21:5472,8912,186,734,8732,158,330,00016,643,0002,195,456
4Jun 10, 2026 21:5472,9822,189,460,1222,161,208,00016,168,0002,195,456
5Jun 10, 2026 21:5473,2852,198,567,5262,170,824,00016,480,0002,158,592
6Jun 10, 2026 21:5473,4322,202,981,7972,175,244,00016,508,0002,158,592
7Jun 10, 2026 21:5475,4392,263,187,7782,233,244,00017,940,0002,195,456
8Jun 10, 2026 21:5475,8792,276,399,9132,247,823,00017,245,0002,158,592
9Jun 10, 2026 21:5476,0412,281,237,5382,250,529,00019,005,0002,174,976