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:23Joad NacerJoad NacerScore: 10,168Success
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:239,760292,813,318211,833,00054,956,0002,588,672
2May 21, 2024 18:239,957298,724,844213,779,00060,937,0002,555,904
3May 21, 2024 18:239,965298,962,549212,062,00057,016,0002,740,224
4May 21, 2024 18:239,975299,237,699220,770,00055,941,0002,678,784
5May 21, 2024 18:2310,039301,157,926216,601,00058,891,0002,686,976
6May 21, 2024 18:2310,165304,935,437219,512,00056,873,0002,670,592
7May 21, 2024 18:2310,168305,039,973217,494,00057,865,0002,609,152
8May 21, 2024 18:2310,209306,257,759215,516,00058,867,0002,560,000
9May 21, 2024 18:2310,348310,428,862231,511,00053,886,0002,674,688
10May 21, 2024 18:2310,608318,248,697262,890,97502,355,200
11May 21, 2024 18:2310,681320,429,983264,588,06502,240,512
12May 21, 2024 18:2310,702321,074,675264,610,68202,367,488