Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3736
21752
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 0008.6 15792 8284 Accepted 100
1 1 3 5 0008.4 15792 8344 Accepted 100
2 2 5 0009.4 15792 8424 Accepted 100
3 2 3 5 0009.0 15792 8348 Accepted 100
4 2 3 5 0008.8 15792 8252 Accepted 100
5 2 3 5 0008.5 15792 8296 Accepted 100
6 2 3 5 0008.8 15792 8420 Accepted 100
7 2 3 5 0008.6 15792 8312 Accepted 100
8 2 3 5 0008.9 15792 8360 Accepted 100
9 2 5 0009.4 15792 8324 Accepted 100
10 2 5 0009.3 15792 8368 Accepted 100
11 2 5 0009.7 15792 8364 Accepted 100
12 2 5 0009.4 15792 8492 Accepted 100
13 3 5 0008.6 15792 8308 Accepted 100
14 3 5 0094.7 25824 20412 Accepted 100
15 3 5 0073.8 18828 13488 Accepted 100
16 3 5 0064.9 19344 13628 Accepted 100
17 3 5 0085.5 18960 13596 Accepted 100
18 3 5 0080.6 18960 13580 Accepted 100
19 3 5 0076.9 18960 13600 Accepted 100
20 3 5 0073.8 18960 13632 Accepted 100
21 3 5 0073.6 18960 13596 Accepted 100
22 3 4 5 0091.6 24976 19756 Accepted 100
23 3 4 5 0072.6 18828 13488 Accepted 100
24 3 4 5 0056.5 19344 13532 Accepted 100
25 3 4 5 0076.6 18960 13564 Accepted 100
26 4 5 0180.4 26516 21752 Accepted 100
27 4 5 0171.5 18960 14092 Accepted 100
28 4 5 0164.7 18960 14024 Accepted 100
29 4 5 0163.1 18960 13932 Accepted 100
30 4 5 0173.6 18960 14028 Accepted 100
31 4 5 0161.6 18960 14020 Accepted 100
32 4 5 0163.3 21184 16252 Accepted 100
33 4 5 0174.0 21184 16316 Accepted 100
34 5 0178.1 26516 21704 Accepted 100
35 5 0171.0 18960 14028 Accepted 100
36 5 0162.4 18960 13788 Accepted 100
37 5 0161.5 18960 14020 Accepted 100
38 5 0168.5 18960 14040 Accepted 100
39 5 0156.3 18960 14024 Accepted 100
40 5 0174.2 21180 16388 Accepted 100
41 5 0165.5 21184 16456 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.7 KB
Back to Top