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 29, 2022 06:21Robert BurkeRobert BurkeScore: 9,316Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2022 06:219,083272,483,311246,558,0003,992,0002,760,704
2Jul 29, 2022 06:219,118273,545,425246,811,0002,997,0002,723,840
3Jul 29, 2022 06:219,179275,381,812243,620,0004,992,0002,605,056
4Jul 29, 2022 06:219,194275,833,418247,094,0005,001,0002,658,304
5Jul 29, 2022 06:219,223276,688,193248,435,0001,995,0002,535,424
6Jul 29, 2022 06:219,314279,408,850246,481,0004,007,0002,715,648
7Jul 29, 2022 06:219,316279,494,329242,559,0005,989,0002,543,616
8Jul 29, 2022 06:219,384281,516,750248,152,0003,001,0002,572,288
9Jul 29, 2022 06:219,413282,404,922250,531,0004,990,0002,600,960
10Jul 29, 2022 06:2110,014300,418,464231,422,86802,396,160
11Jul 29, 2022 06:2110,032300,960,827235,852,32302,400,256
12Jul 29, 2022 06:2110,173305,194,386231,392,87302,400,256