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 27, 2024 23:53Joad NacerJoad NacerScore: 10,002Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 23:539,644289,307,247204,927,00053,980,0002,678,784
2May 27, 2024 23:539,664289,920,898205,154,00054,040,0002,576,384
3May 27, 2024 23:539,817294,521,637209,905,00058,973,0002,674,688
4May 27, 2024 23:539,825294,760,786210,042,00058,011,0002,674,688
5May 27, 2024 23:539,856295,674,735214,050,00054,012,0002,527,232
6May 27, 2024 23:539,948298,451,719206,925,00059,978,0002,777,088
7May 27, 2024 23:539,955298,655,481208,558,00056,879,0002,547,712
8May 27, 2024 23:5310,002300,064,162209,427,00057,841,0002,744,320
9May 27, 2024 23:5310,159304,783,035226,538,00054,888,0002,646,016
10May 27, 2024 23:5410,315309,436,193253,154,09302,363,392
11May 27, 2024 23:5310,557316,711,752254,432,70802,363,392
12May 27, 2024 23:5410,618318,540,282251,849,81902,355,200
13May 27, 2024 23:5310,691320,730,075250,249,07302,355,200
14May 27, 2024 23:5310,860325,808,567251,507,40602,342,912
15May 27, 2024 23:5411,044331,330,071253,705,94302,244,608