Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

19934
253980
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~12 $n \le 100$ 17 / 17
3 1, 3~8, 13~25 $m = n − 1$ 23 / 23
4 22~33 $a_i \ge 0$ 34 / 34
5 0~41 無額外限制 26 / 26

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0407.6 476184 239180 Accepted 100
1 1 3 5 0419.4 476184 237916 Accepted 100
2 2 5 0421.6 476184 239112 Accepted 100
3 2 3 5 0417.6 476184 237948 Accepted 100
4 2 3 5 0424.3 476184 237972 Accepted 100
5 2 3 5 0435.3 476184 237896 Accepted 100
6 2 3 5 0422.3 476184 237896 Accepted 100
7 2 3 5 0413.2 476184 237928 Accepted 100
8 2 3 5 0426.7 476184 237936 Accepted 100
9 2 5 0419.6 476184 239012 Accepted 100
10 2 5 0423.4 476184 239156 Accepted 100
11 2 5 0418.9 476184 239140 Accepted 100
12 2 5 0426.6 476184 239120 Accepted 100
13 3 5 0408.3 476184 237892 Accepted 100
14 3 5 0504.2 486224 248968 Accepted 100
15 3 5 0485.0 480408 242956 Accepted 100
16 3 5 0460.3 480264 242328 Accepted 100
17 3 5 0493.1 479880 242424 Accepted 100
18 3 5 0491.6 479880 242428 Accepted 100
19 3 5 0468.4 479880 242416 Accepted 100
20 3 5 0492.2 479880 242228 Accepted 100
21 3 5 0470.4 479880 242224 Accepted 100
22 3 4 5 0517.2 485372 248084 Accepted 100
23 3 4 5 0478.1 480408 243084 Accepted 100
24 3 4 5 0440.6 480264 242248 Accepted 100
25 3 4 5 0468.4 479880 242420 Accepted 100
26 4 5 0540.8 488468 253948 Accepted 100
27 4 5 0502.2 479748 243644 Accepted 100
28 4 5 0513.9 479748 243624 Accepted 100
29 4 5 0497.1 479748 243660 Accepted 100
30 4 5 0546.4 479748 243604 Accepted 100
31 4 5 0535.1 479748 243468 Accepted 100
32 4 5 0537.3 482436 246624 Accepted 100
33 4 5 0517.3 482440 246844 Accepted 100
34 5 0544.3 488468 253980 Accepted 100
35 5 0510.2 479748 243608 Accepted 100
36 5 0519.5 479748 243548 Accepted 100
37 5 0492.1 479748 243640 Accepted 100
38 5 0515.0 479748 243412 Accepted 100
39 5 0479.9 479748 243664 Accepted 100
40 5 0526.4 482436 246852 Accepted 100
41 5 0501.9 482436 246712 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.67 KB
Back to Top