Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4604
21412
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 0002.7 6060 3672 Accepted 100
1 1 3 5 0002.6 6060 3616 Accepted 100
2 2 5 0002.8 6060 3644 Accepted 100
3 2 3 5 0002.8 6060 3672 Accepted 100
4 2 3 5 0002.7 6060 3612 Accepted 100
5 2 3 5 0002.8 6060 3648 Accepted 100
6 2 3 5 0002.7 6060 3688 Accepted 100
7 2 3 5 0002.7 6060 3684 Accepted 100
8 2 3 5 0002.7 6060 3692 Accepted 100
9 2 5 0003.0 6060 3560 Accepted 100
10 2 5 0002.6 6060 3684 Accepted 100
11 2 5 0002.5 6060 3628 Accepted 100
12 2 5 0002.6 6060 3688 Accepted 100
13 3 5 0002.4 6060 3544 Accepted 100
14 3 5 0187.8 21708 18792 Accepted 100
15 3 5 0163.9 15896 13152 Accepted 100
16 3 5 0135.5 15772 12744 Accepted 100
17 3 5 0161.5 15236 12468 Accepted 100
18 3 5 0158.4 15236 12452 Accepted 100
19 3 5 0153.6 15236 12492 Accepted 100
20 3 5 0155.7 15236 12492 Accepted 100
21 3 5 0158.0 15236 12476 Accepted 100
22 3 4 5 0189.3 20860 18164 Accepted 100
23 3 4 5 0167.5 15896 13020 Accepted 100
24 3 4 5 0133.6 15772 12880 Accepted 100
25 3 4 5 0162.2 15236 12580 Accepted 100
26 4 5 0189.1 24656 21412 Accepted 100
27 4 5 0166.9 15236 12564 Accepted 100
28 4 5 0154.5 15236 12456 Accepted 100
29 4 5 0155.4 15236 12540 Accepted 100
30 4 5 0161.9 15236 12592 Accepted 100
31 4 5 0153.8 15236 12620 Accepted 100
32 4 5 0169.4 17804 14968 Accepted 100
33 4 5 0169.2 17796 15092 Accepted 100
34 5 0190.2 23948 20284 Accepted 100
35 5 0163.7 15236 12536 Accepted 100
36 5 0159.8 15236 12664 Accepted 100
37 5 0162.0 15236 12532 Accepted 100
38 5 0161.6 15236 12476 Accepted 100
39 5 0158.3 15236 12456 Accepted 100
40 5 0161.9 17792 14948 Accepted 100
41 5 0161.7 17796 15032 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.64 KB
Back to Top