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 21, 2024 18:03Joad NacerJoad NacerScore: 11,238Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2024 18:0311,004330,125,943248,778,00055,950,0002,641,920
2May 21, 2024 18:0311,006330,187,557251,590,00054,910,0002,527,232
3May 21, 2024 18:0311,047331,420,139250,801,00055,955,0002,678,784
4May 21, 2024 18:0311,058331,725,756248,607,00056,910,0002,756,608
5May 21, 2024 18:0311,085332,550,643253,081,00057,018,0002,740,224
6May 21, 2024 18:0311,161334,843,963252,661,00053,927,0002,646,016
7May 21, 2024 18:0311,238337,136,013254,450,00056,877,0002,605,056
8May 21, 2024 18:0311,271338,124,397254,426,00054,876,0002,543,616
9May 21, 2024 18:0311,473344,182,075264,631,00054,923,0002,543,616
10May 21, 2024 18:0311,765352,953,510295,505,42902,240,512
11May 21, 2024 18:0311,902357,056,181294,496,06102,252,800
12May 21, 2024 18:0312,144364,307,921297,340,71502,359,296