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 listSep 12, 2023 16:02matsuoka-601matsuoka-601Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 12, 2023 16:0200000Error: expected "1021703 ", got "1021702 "stderr
2Sep 12, 2023 16:0200000Error: expected "1020781 ", got "1020779 "stderr
3Sep 12, 2023 16:0300000Error: expected "1018663 ", got "1018661 "stderr
4Sep 12, 2023 16:0300000Error: expected "1026124 ", got "1026123 "stderr
5Sep 12, 2023 16:0400000Error: expected "1021350 ", got "1021349 "stderr
6Sep 12, 2023 16:0400000Error: expected "1021541 ", got "1021540 "stderr
7Sep 12, 2023 16:0500000Error: expected "1021652 ", got "1021651 "stderr
8Sep 12, 2023 16:0500000Error: expected "1024120 ", got "1024118 "stderr
9Sep 12, 2023 16:0600000Error: expected "1022176 ", got "1022174 "stderr
10Sep 12, 2023 16:0600000Error: expected "1018863 ", got "1018862 "stderr
11Sep 12, 2023 16:0700000Error: expected "1025340 ", got "1025339 "stderr
12Sep 12, 2023 16:077,913237,395,253176,317,16502,424,832
13Sep 12, 2023 16:077,948238,437,762176,466,00202,420,736
14Sep 12, 2023 16:078,107243,197,953176,554,77402,314,240