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 17:32Victor MerckléVictor MerckléScore: 164,053Success
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 17:34163,4734,904,210,0804,850,524,00034,974,0002,330,624stderr
2May 1, 2026 17:34163,6194,908,592,7664,853,057,00032,980,0002,326,528stderr
3May 1, 2026 17:34163,8074,914,213,1394,858,523,00028,979,0002,326,528stderr
4May 1, 2026 17:34163,8764,916,286,8904,862,760,00032,978,0002,326,528stderr
5May 1, 2026 17:34164,0534,921,600,3004,865,137,00030,981,0002,330,624stderr
6May 1, 2026 17:34164,1604,924,804,9134,870,744,00030,979,0002,551,808stderr
7May 1, 2026 17:34164,2074,926,230,8324,872,804,00031,979,0002,326,528stderr
8May 1, 2026 17:34164,3844,931,539,8004,875,176,00038,977,0002,330,624stderr
9May 1, 2026 17:34164,8104,944,315,6634,888,448,00036,973,0002,330,624stderr