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 19:58Victor MerckléVictor MerckléScore: 91,356Success
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 19:5989,0062,670,186,2342,629,896,00022,990,0002,420,736stderr
2May 1, 2026 19:5990,0062,700,204,9132,660,776,00017,991,0002,691,072stderr
3May 1, 2026 19:5990,0202,700,616,8832,653,752,00027,986,0002,314,240stderr
4May 1, 2026 19:5990,7762,723,285,8282,682,611,00023,987,0002,457,600stderr
5May 1, 2026 19:5991,3562,740,684,8522,699,738,00023,988,0002,314,240stderr
6May 1, 2026 19:5992,2222,766,671,5162,726,878,00023,990,0002,314,240stderr
7May 1, 2026 19:5992,5642,776,941,9842,738,252,00021,985,0002,473,984stderr
8May 1, 2026 19:5992,7742,783,236,6632,737,960,00021,991,0002,322,432stderr
9May 1, 2026 19:5993,1482,794,445,6822,748,728,00026,987,0002,543,616stderr