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 listAug 2, 2022 20:03Yuriy LyfenkoYuriy LyfenkoScore: 7,729Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2022 20:037,490224,695,606568,236,00015,978,0002,789,376
2Aug 2, 2022 20:037,558226,739,698569,126,00014,977,0002,822,144
3Aug 2, 2022 20:037,587227,618,103594,512,00012,967,0002,469,888
4Aug 2, 2022 20:037,589227,669,228570,229,00013,981,0002,670,592
5Aug 2, 2022 20:037,598227,926,588596,917,00010,980,0002,490,368
6Aug 2, 2022 20:037,653229,577,444575,514,00012,966,0002,686,976
7Aug 2, 2022 20:037,679230,371,025582,880,00013,973,0002,650,112
8Aug 2, 2022 20:037,682230,457,239596,557,00013,942,0003,026,944
9Aug 2, 2022 20:037,683230,499,839592,858,00015,969,0002,600,960
10Aug 2, 2022 20:037,694230,815,346598,458,0008,976,0002,658,304
11Aug 2, 2022 20:037,729231,877,178596,319,00014,957,0002,625,536
12Aug 2, 2022 20:037,731231,920,803576,616,00011,992,0002,678,784
13Aug 2, 2022 20:037,782233,461,205593,932,00012,976,0002,678,784
14Aug 2, 2022 20:037,795233,853,657592,196,00012,982,0002,666,496
15Aug 2, 2022 20:037,797233,916,241588,292,00016,950,0002,682,880
16Aug 2, 2022 20:037,827234,819,985596,860,00010,979,0002,748,416
17Aug 2, 2022 20:037,846235,381,615596,847,00011,956,0002,826,240
18Aug 2, 2022 20:037,957238,712,037596,959,00012,977,0002,498,560
19Aug 2, 2022 20:038,993269,778,294601,028,17002,494,464
20Aug 2, 2022 20:039,246277,380,778602,590,02702,416,640
21Aug 2, 2022 20:039,457283,703,048601,919,63102,441,216