Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2545
24720
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 0005.5 13540 5964 Accepted 100
1 1 3 5 0005.8 13540 5932 Accepted 100
2 2 5 0005.8 13540 5916 Accepted 100
3 2 3 5 0005.7 13540 5968 Accepted 100
4 2 3 5 0005.7 13540 5948 Accepted 100
5 2 3 5 0005.6 13540 5900 Accepted 100
6 2 3 5 0005.6 13540 6008 Accepted 100
7 2 3 5 0005.5 13540 5772 Accepted 100
8 2 3 5 0005.8 13540 5940 Accepted 100
9 2 5 0005.4 13540 5972 Accepted 100
10 2 5 0005.6 13540 5964 Accepted 100
11 2 5 0005.5 13540 5960 Accepted 100
12 2 5 0005.9 13540 5984 Accepted 100
13 3 5 0005.5 13540 5992 Accepted 100
14 3 5 0093.5 23576 18572 Accepted 100
15 3 5 0083.6 17764 12584 Accepted 100
16 3 5 0055.0 17620 11800 Accepted 100
17 3 5 0072.3 17236 11836 Accepted 100
18 3 5 0079.3 17236 11884 Accepted 100
19 3 5 0080.8 17236 12024 Accepted 100
20 3 5 0077.0 17236 11964 Accepted 100
21 3 5 0072.2 17236 12068 Accepted 100
22 3 4 5 0090.1 22728 17624 Accepted 100
23 3 4 5 0074.9 17764 12584 Accepted 100
24 3 4 5 0055.9 17620 11888 Accepted 100
25 3 4 5 0072.2 17236 11956 Accepted 100
26 4 5 0120.0 29256 24720 Accepted 100
27 4 5 0092.4 17104 12976 Accepted 100
28 4 5 0090.2 17104 12884 Accepted 100
29 4 5 0092.3 17104 12964 Accepted 100
30 4 5 0087.0 17104 12892 Accepted 100
31 4 5 0088.0 17104 12976 Accepted 100
32 4 5 0099.1 20860 16180 Accepted 100
33 4 5 0101.5 20852 16184 Accepted 100
34 5 0126.4 29080 23020 Accepted 100
35 5 0093.0 17104 13024 Accepted 100
36 5 0096.5 17104 12792 Accepted 100
37 5 0092.2 17104 13024 Accepted 100
38 5 0100.1 17104 13104 Accepted 100
39 5 0091.6 17104 13080 Accepted 100
40 5 0096.2 20860 16304 Accepted 100
41 5 0092.9 20856 16276 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.98 KB
Back to Top