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 listJul 23, 2024 16:11Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2024 16:1100000Error: expected "1022727 ", got "1022725 "stderr
2Jul 23, 2024 16:1100000Error: expected "1025315 ", got "1025314 "stderr
3Jul 23, 2024 16:1100000Error: expected "1023106 ", got "1023105 "stderr
4Jul 23, 2024 16:1200000Error: expected "1019897 ", got "1019896 "stderr
5Jul 23, 2024 16:1200000Error: expected "1018881 ", got "1018880 "stderr
6Jul 23, 2024 16:1200000Error: expected "1023425 ", got "1023424 "stderr
7Jul 23, 2024 16:1200000Error: expected "1022891 ", got "1022889 "stderr
8Jul 23, 2024 16:1700000Error: expected "1022539 ", got "1022538 "stderr
9Jul 23, 2024 16:1700000Error: expected "1022143 ", got "1022141 "stderr
10Jul 23, 2024 16:1700000Error: expected "1023872 ", got "1023868 "stderr
11Jul 23, 2024 16:1700000Error: expected "1020824 ", got "1020823 "stderr
12Jul 23, 2024 16:174,631138,944,809153,767,47302,428,928
13Jul 23, 2024 16:174,643139,291,067145,662,92902,424,832
14Jul 23, 2024 16:174,654139,608,345146,176,72302,514,944