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 11, 2024 23:59Joad NacerJoad NacerScore: 15,627Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2024 23:5914,347430,420,892371,015,59902,355,200
2May 11, 2024 23:5914,352430,545,043370,444,67402,338,816
3May 11, 2024 23:5915,229456,867,491386,462,98302,359,296
4May 11, 2024 23:5915,428462,829,766382,812,00055,972,0002,666,496
5May 11, 2024 23:5915,509465,279,000383,719,00055,959,0002,678,784
6May 11, 2024 23:5915,609468,281,359386,462,00055,922,0002,535,424
7May 11, 2024 23:5915,627468,818,693388,797,00056,970,0002,670,592
8May 11, 2024 23:5915,667470,005,705380,259,00058,039,0002,723,840
9May 11, 2024 23:5916,136484,094,448398,300,00054,040,0002,666,496
10May 11, 2024 23:5916,261487,839,098402,757,00053,967,0002,543,616
11May 11, 2024 23:5916,857505,715,429423,468,00057,927,0002,781,184
12May 11, 2024 23:5917,181515,438,682436,403,00055,923,0002,527,232