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 listOct 2, 2024 18:50Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 2, 2024 18:5500000Error: No answer to stdout. Died or killed?stderr
2Oct 2, 2024 18:5100000Error: No answer to stdout. Died or killed?stderr
3Oct 2, 2024 18:504,235127,046,956198,654,0002,006,0002,584,576
4Oct 2, 2024 18:454,267128,022,748197,824,0003,012,0002,838,528
5Oct 2, 2024 18:504,648139,452,054221,555,0005,012,0002,564,096
6Oct 2, 2024 18:454,713141,376,300224,178,0003,002,0002,777,088
7Oct 2, 2024 18:504,777143,319,131229,100,0006,002,0002,678,784
8Oct 2, 2024 18:504,808144,244,966221,758,0003,010,0002,732,032
9Oct 2, 2024 18:504,846145,375,029222,186,0005,004,0002,637,824
10Oct 2, 2024 18:454,862145,857,115227,282,0005,006,0002,396,160
11Oct 2, 2024 18:454,909147,271,194235,870,0003,997,0002,404,352
12Oct 2, 2024 18:454,927147,813,224226,183,0005,004,0002,396,160
13Oct 2, 2024 18:504,982149,465,385235,373,0005,007,0002,760,704
14Oct 2, 2024 18:454,988149,646,499235,148,0004,002,0002,772,992
15Oct 2, 2024 18:505,002150,072,802233,251,0005,980,0002,400,256
16Oct 2, 2024 18:505,031150,944,076240,009,0003,000,0002,637,824
17Oct 2, 2024 18:505,057151,711,876238,124,0005,023,0002,400,256
18Oct 2, 2024 18:455,070152,092,995241,684,0003,008,0002,392,064
19Oct 2, 2024 18:455,074152,216,057240,069,0005,001,0002,813,952
20Oct 2, 2024 18:505,086152,569,543242,513,0004,989,0002,711,552
21Oct 2, 2024 18:505,094152,821,898246,369,0004,987,0002,637,824
22Oct 2, 2024 18:455,128153,846,742242,969,0002,999,0002,617,344
23Oct 2, 2024 18:505,129153,882,964241,168,0005,003,0002,641,920
24Oct 2, 2024 18:505,145154,339,924240,398,0004,987,0002,396,160
25Oct 2, 2024 18:505,150154,490,423239,190,0004,003,0002,662,400
26Oct 2, 2024 18:505,152154,556,048239,248,0003,003,0002,637,824