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:02Joad NacerJoad NacerScore: 11,588Success
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:0210,837325,120,008265,762,58502,351,104
2May 21, 2024 18:0211,013330,384,629278,342,72402,347,008
3May 21, 2024 18:0211,394341,813,290262,830,00055,963,0002,707,456
4May 21, 2024 18:0211,410342,286,542258,569,00056,905,0002,625,536
5May 21, 2024 18:0211,461343,824,085260,504,00056,891,0002,674,688
6May 21, 2024 18:0211,515345,459,875261,419,00056,873,0002,711,552
7May 21, 2024 18:0211,588347,630,173264,731,00057,941,0002,670,592
8May 21, 2024 18:0211,609348,272,565260,547,00057,899,0002,674,688
9May 21, 2024 18:0211,670350,101,692263,496,00057,889,0002,555,904
10May 21, 2024 18:0211,710351,303,953266,475,00060,880,0002,674,688
11May 21, 2024 18:0211,779353,364,726262,475,00059,880,0002,670,592
12May 21, 2024 18:0212,480374,411,201289,021,46002,306,048