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 listSep 8, 2024 20:31Joad NacerJoad NacerScore: 6,767Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2024 20:316,565196,955,802168,205,00010,012,0002,596,864
2Sep 8, 2024 20:316,670200,096,120167,703,0009,982,0002,707,456
3Sep 8, 2024 20:316,674200,221,248160,582,00014,961,0002,625,536
4Sep 8, 2024 20:376,687200,598,441162,857,00014,986,0002,707,456
5Sep 8, 2024 20:376,751202,521,881159,875,00014,988,0002,596,864
6Sep 8, 2024 20:316,756202,670,509167,912,0009,994,0002,625,536
7Sep 8, 2024 20:316,767202,995,686163,936,00013,994,0002,596,864
8Sep 8, 2024 20:316,779203,384,282163,559,00014,959,0002,596,864
9Sep 8, 2024 20:376,797203,914,638165,858,00011,989,0002,707,456
10Sep 8, 2024 20:316,947208,410,265164,821,00014,983,0002,588,672
11Sep 8, 2024 20:316,970209,114,948167,334,00012,024,0002,600,960
12Sep 8, 2024 20:316,990209,706,253165,296,00013,023,0002,592,768