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:05Henry CafaroHenry CafaroScore: 11,561Success
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:0511,051331,522,106881,524,00013,976,0002,826,240
2Aug 2, 2024 20:0511,129333,868,488882,508,00014,991,0002,682,880
3Aug 2, 2024 20:0511,374341,224,285918,052,00015,966,0002,609,152
4Aug 2, 2024 20:0511,415342,441,539900,857,00010,998,0002,469,888
5Aug 2, 2024 20:0511,511345,338,652919,807,00013,981,0002,535,424
6Aug 2, 2024 20:0511,543346,284,563917,296,00014,972,0002,613,248
7Aug 2, 2024 20:0511,561346,819,893918,272,00012,975,0002,662,400
8Aug 2, 2024 20:0511,719351,573,446919,563,00012,979,0002,813,952
9Aug 2, 2024 20:0511,889356,668,532922,214,00013,972,0002,797,568
10Aug 2, 2024 20:0512,430372,896,706895,865,37702,523,136
11Aug 2, 2024 20:0512,476374,287,112894,479,33402,404,352
12Aug 2, 2024 20:0512,576377,290,771897,789,18502,555,904