Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4905
21172
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 0014.8 22660 10124 Accepted 100
1 1 3 5 0010.4 20316 7712 Accepted 100
2 2 5 0013.8 22660 10308 Accepted 100
3 2 3 5 0010.1 20316 7780 Accepted 100
4 2 3 5 0010.5 20316 7780 Accepted 100
5 2 3 5 0009.9 20316 7752 Accepted 100
6 2 3 5 0010.6 20316 7716 Accepted 100
7 2 3 5 0009.6 20316 7788 Accepted 100
8 2 3 5 0009.7 20316 7704 Accepted 100
9 2 5 0013.5 22660 10212 Accepted 100
10 2 5 0013.6 22660 10160 Accepted 100
11 2 5 0013.6 22660 10204 Accepted 100
12 2 5 0014.1 22660 10352 Accepted 100
13 3 5 0010.1 20316 7860 Accepted 100
14 3 5 0131.4 30352 21172 Accepted 100
15 3 5 0103.7 24540 15288 Accepted 100
16 3 5 0081.4 24396 14852 Accepted 100
17 3 5 0103.4 24012 14636 Accepted 100
18 3 5 0118.0 24012 14688 Accepted 100
19 3 5 0122.3 24012 14640 Accepted 100
20 3 5 0118.5 24012 14684 Accepted 100
21 3 5 0115.9 24012 14724 Accepted 100
22 3 4 5 0131.2 29508 20356 Accepted 100
23 3 4 5 0110.7 24540 15200 Accepted 100
24 3 4 5 0080.3 24396 14860 Accepted 100
25 3 4 5 0108.0 24012 14712 Accepted 100
26 4 5 0167.7 26848 19576 Accepted 100
27 4 5 0205.4 31724 20880 Accepted 100
28 4 5 0208.4 31768 20908 Accepted 100
29 4 5 0236.8 31768 20860 Accepted 100
30 4 5 0311.7 31720 20844 Accepted 100
31 4 5 0270.5 31764 20932 Accepted 100
32 4 5 0202.7 30312 20236 Accepted 100
33 4 5 0192.5 30312 20208 Accepted 100
34 5 0159.1 26848 19676 Accepted 100
35 5 0223.0 31768 20712 Accepted 100
36 5 0202.4 31716 20780 Accepted 100
37 5 0223.3 31768 20760 Accepted 100
38 5 0212.0 31756 20876 Accepted 100
39 5 0211.9 31764 20704 Accepted 100
40 5 0202.9 30404 20216 Accepted 100
41 5 0185.4 30312 20068 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.64 KB
Back to Top