Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

23342
23036
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 1000.5 6220 3704 Accepted 100
1 1 3 5 0002.8 6220 3596 Accepted 100
2 2 5 1000.6 6220 3708 Accepted 100
3 2 3 5 0002.8 6220 3560 Accepted 100
4 2 3 5 0002.8 6220 3488 Accepted 100
5 2 3 5 0002.7 6220 3652 Accepted 100
6 2 3 5 0002.7 6220 3652 Accepted 100
7 2 3 5 0002.6 6220 3612 Accepted 100
8 2 3 5 0002.6 6220 3572 Accepted 100
9 2 5 1000.5 6220 3788 Accepted 100
10 2 5 1000.5 6220 3772 Accepted 100
11 2 5 1000.4 6220 3676 Accepted 100
12 2 5 1000.5 6220 3660 Accepted 100
13 3 5 0002.8 6220 3640 Accepted 100
14 3 5 0104.1 23936 21128 Accepted 100
15 3 5 0093.6 15276 12156 Accepted 100
16 3 5 0067.4 14996 11864 Accepted 100
17 3 5 0084.6 14612 11624 Accepted 100
18 3 5 0085.0 14612 11748 Accepted 100
19 3 5 0086.1 14612 11768 Accepted 100
20 3 5 0089.0 14612 11756 Accepted 100
21 3 5 0090.0 14612 11676 Accepted 100
22 3 4 5 0102.5 22748 20016 Accepted 100
23 3 4 5 0091.7 15272 12412 Accepted 100
24 3 4 5 0069.2 14996 11868 Accepted 100
25 3 4 5 0082.2 14612 11732 Accepted 100
26 4 5 1025.2 25680 23036 Accepted 100
27 4 5 1007.0 15388 12800 Accepted 100
28 4 5 1008.1 15372 12628 Accepted 100
29 4 5 1016.3 15388 12548 Accepted 100
30 4 5 1006.6 15380 12664 Accepted 100
31 4 5 1015.8 15376 12680 Accepted 100
32 4 5 1023.6 18548 15928 Accepted 100
33 4 5 1008.0 18548 15976 Accepted 100
34 5 1014.0 25676 22872 Accepted 100
35 5 1024.1 15384 12680 Accepted 100
36 5 1025.6 15380 12692 Accepted 100
37 5 1014.7 15388 12536 Accepted 100
38 5 1022.5 15380 12672 Accepted 100
39 5 1019.2 15376 12752 Accepted 100
40 5 1026.9 18548 15900 Accepted 100
41 5 1014.3 18548 15768 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.38 KB
Back to Top