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 28, 2024 18:08Joad NacerJoad NacerScore: 9,228Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2024 18:088,697260,897,438186,106,00053,030,0002,674,688
2May 28, 2024 18:088,830264,907,980184,904,00053,972,0002,646,016
3May 28, 2024 18:088,854265,605,605183,998,00055,999,0002,686,976
4May 28, 2024 18:088,885266,547,664185,636,00053,894,0002,588,672
5May 28, 2024 18:088,937268,101,035190,821,00055,947,0002,772,992
6May 28, 2024 18:088,988269,637,641187,720,00058,912,0002,719,744
7May 28, 2024 18:089,015270,443,860192,016,00057,004,0002,682,880
8May 28, 2024 18:089,047271,423,106191,785,00056,936,0002,555,904
9May 28, 2024 18:089,135274,050,490193,237,00054,066,0002,674,688
10May 28, 2024 18:089,145274,364,229190,838,00058,950,0002,744,320
11May 28, 2024 18:089,159274,773,947192,690,00056,908,0002,670,592
12May 28, 2024 18:089,166274,991,536188,798,00056,939,0002,633,728
13May 28, 2024 18:089,207276,215,753189,344,00057,103,0002,609,152
14May 28, 2024 18:089,228276,833,321194,726,00058,917,0002,674,688
15May 28, 2024 18:089,334280,032,400191,085,00059,026,0002,670,592
16May 28, 2024 18:089,354280,612,503198,732,00055,924,0002,670,592
17May 28, 2024 18:089,493284,800,344203,630,00056,896,0002,617,344
18May 28, 2024 18:089,574287,206,596194,938,00057,981,0002,674,688
19May 28, 2024 18:089,818294,545,475240,678,50702,355,200
20May 28, 2024 18:089,944298,330,295241,352,15802,240,512
21May 28, 2024 18:089,951298,543,001239,667,83402,359,296
22May 28, 2024 18:0810,196305,881,173237,083,27402,338,816
23May 28, 2024 18:0810,331309,929,536242,310,43902,347,008
24May 28, 2024 18:0810,419312,572,548257,770,01102,240,512
25May 28, 2024 18:0810,618318,549,183248,830,71802,347,008
26May 28, 2024 18:0810,630318,891,753243,835,27702,224,128
27May 28, 2024 18:0810,720321,596,667256,430,98702,351,104