Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2219
26548
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.3 11876 5908 Accepted 100
1 1 3 5 0005.2 11876 5924 Accepted 100
2 2 5 0005.2 11876 5952 Accepted 100
3 2 3 5 0005.4 11876 5912 Accepted 100
4 2 3 5 0005.2 11876 5928 Accepted 100
5 2 3 5 0005.2 11876 5992 Accepted 100
6 2 3 5 0005.3 11876 5936 Accepted 100
7 2 3 5 0005.3 11876 5936 Accepted 100
8 2 3 5 0005.1 11876 5828 Accepted 100
9 2 5 0005.3 11876 5848 Accepted 100
10 2 5 0005.4 11876 5952 Accepted 100
11 2 5 0005.2 11876 5968 Accepted 100
12 2 5 0005.3 11876 5948 Accepted 100
13 3 5 0005.1 11876 5964 Accepted 100
14 3 5 0082.8 23340 19936 Accepted 100
15 3 5 0067.4 14912 11200 Accepted 100
16 3 5 0051.4 15428 11500 Accepted 100
17 3 5 0066.5 15044 11392 Accepted 100
18 3 5 0067.7 15044 11628 Accepted 100
19 3 5 0069.1 15044 11504 Accepted 100
20 3 5 0066.3 15044 11568 Accepted 100
21 3 5 0068.0 15044 11624 Accepted 100
22 3 4 5 0086.3 22320 18924 Accepted 100
23 3 4 5 0064.8 14912 11460 Accepted 100
24 3 4 5 0048.4 15428 11452 Accepted 100
25 3 4 5 0063.0 15044 11504 Accepted 100
26 4 5 0131.5 29424 26548 Accepted 100
27 4 5 0081.1 15044 11624 Accepted 100
28 4 5 0070.6 15044 11764 Accepted 100
29 4 5 0073.3 15044 11600 Accepted 100
30 4 5 0069.7 15044 11612 Accepted 100
31 4 5 0071.0 15044 11688 Accepted 100
32 4 5 0083.1 19236 16456 Accepted 100
33 4 5 0084.7 19232 16532 Accepted 100
34 5 0135.0 29424 26404 Accepted 100
35 5 0079.2 15044 11620 Accepted 100
36 5 0073.3 15044 11644 Accepted 100
37 5 0074.2 15044 11632 Accepted 100
38 5 0072.4 15044 11636 Accepted 100
39 5 0074.5 15044 11628 Accepted 100
40 5 0084.4 19232 16540 Accepted 100
41 5 0085.8 19232 16452 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.46 KB
Back to Top