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 listMay 1, 2026 21:11Victor MerckléVictor MerckléScore: 266,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 21:13265,8507,975,526,7757,883,193,00064,960,0002,449,408stderr
2May 1, 2026 21:13265,8867,976,586,1577,894,167,00061,969,0002,453,504stderr
3May 1, 2026 21:13265,8887,976,647,8277,888,011,00069,964,0002,457,600stderr
4May 1, 2026 21:13266,0697,982,071,5217,907,285,00056,973,0002,457,600stderr
5May 1, 2026 21:13266,4987,994,959,0097,900,330,00067,959,0002,400,256stderr
6May 1, 2026 21:13266,6848,000,532,3037,922,105,00057,971,0002,404,352stderr
7May 1, 2026 21:13268,0618,041,841,8387,954,103,00062,961,0002,457,600stderr
8May 1, 2026 21:13274,9638,248,907,5528,153,732,00070,954,0002,433,024stderr
9May 1, 2026 21:13275,1898,255,696,2998,169,777,00060,961,0002,433,024stderr