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 listAug 2, 2024 20:12Henry CafaroHenry CafaroScore: 11,570Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2024 20:1211,089332,681,871882,056,00012,971,0002,658,304
2Aug 2, 2024 20:1211,135334,055,249879,903,00011,971,0002,473,984
3Aug 2, 2024 20:1211,363340,877,348917,610,00014,961,0002,719,744
4Aug 2, 2024 20:1211,410342,304,766918,246,00013,958,0002,527,232
5Aug 2, 2024 20:1211,542346,264,191923,768,00012,982,0002,719,744
6Aug 2, 2024 20:1211,552346,560,963920,962,0009,988,0002,797,568
7Aug 2, 2024 20:1211,570347,107,730919,604,00013,963,0002,760,704
8Aug 2, 2024 20:1211,671350,117,405919,194,0009,991,0002,617,344
9Aug 2, 2024 20:1211,679350,373,383919,160,00012,974,0002,633,728
10Aug 2, 2024 20:1212,074362,222,074898,061,79002,396,160
11Aug 2, 2024 20:1212,192365,765,805892,217,35702,375,680
12Aug 2, 2024 20:1212,556376,669,299893,371,62902,408,448