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 12, 2024 00:30Joad NacerJoad NacerScore: 13,766Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2024 00:3013,018390,527,043313,015,00055,002,0002,674,688
2May 12, 2024 00:3013,123393,690,419316,801,00054,965,0002,781,184
3May 12, 2024 00:3013,142394,265,122338,933,75502,355,200
4May 12, 2024 00:3013,166394,975,104315,759,00055,957,0002,674,688
5May 12, 2024 00:3013,528405,838,601323,451,00055,905,0002,674,688
6May 12, 2024 00:3013,599407,958,727339,485,46902,240,512
7May 12, 2024 00:3013,766412,971,045340,208,93002,252,800
8May 12, 2024 00:3013,868416,044,340329,880,00058,978,0002,670,592
9May 12, 2024 00:3013,920417,599,981336,928,00058,987,0002,600,960
10May 12, 2024 00:3014,489434,671,553351,593,00058,931,0002,752,512
11May 12, 2024 00:3014,515435,462,290349,460,00057,910,0002,670,592
12May 12, 2024 00:3014,734442,031,542349,614,00057,936,0002,662,400