Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2246
18776
Wrong Answer
74

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 無額外限制 0 / 26

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0002.5 6212 3592 Accepted 100
1 1 3 5 0002.8 6212 3568 Accepted 100
2 2 5 0002.8 6212 3588 Accepted 100
3 2 3 5 0002.6 6212 3564 Accepted 100
4 2 3 5 0002.7 6212 3616 Accepted 100
5 2 3 5 0002.7 6212 3576 Accepted 100
6 2 3 5 0002.8 6212 3704 Accepted 100
7 2 3 5 0002.5 6212 3460 Accepted 100
8 2 3 5 0002.7 6212 3580 Accepted 100
9 2 5 0002.6 6212 3600 Accepted 100
10 2 5 0002.6 6212 3592 Accepted 100
11 2 5 0002.6 6212 3644 Accepted 100
12 2 5 0002.6 6212 3584 Accepted 100
13 3 5 0002.4 6212 3564 Accepted 100
14 3 5 0089.6 19376 16632 Accepted 100
15 3 5 0072.8 12376 9500 Accepted 100
16 3 5 0060.8 12892 9868 Accepted 100
17 3 5 0073.6 12508 9592 Accepted 100
18 3 5 0069.5 12508 9488 Accepted 100
19 3 5 0069.6 12508 9528 Accepted 100
20 3 5 0071.6 12508 9516 Accepted 100
21 3 5 0072.4 12508 9624 Accepted 100
22 3 4 5 0101.2 18532 15600 Accepted 100
23 3 4 5 0073.4 12376 9568 Accepted 100
24 3 4 5 0054.7 12892 9792 Accepted 100
25 3 4 5 0070.7 12508 9652 Accepted 100
26 4 5 0106.2 21592 18724 Accepted 100
27 4 5 0078.9 12508 9488 Accepted 100
28 4 5 0074.1 12508 9652 Accepted 100
29 4 5 0079.8 12508 9632 Accepted 100
30 4 5 0075.6 12508 9592 Accepted 100
31 4 5 0074.5 12508 9596 Accepted 100
32 4 5 0092.1 15256 12396 Accepted 100
33 4 5 0092.7 15248 12552 Accepted 100
34 5 0107.1 21588 18776 Wrong Answer 0
35 5 0080.2 12508 9488 Accepted 100
36 5 0075.7 12508 9624 Accepted 100
37 5 0077.3 12508 9568 Accepted 100
38 5 0073.2 12508 9596 Accepted 100
39 5 0075.0 12508 9568 Accepted 100
40 5 0081.6 15256 12396 Accepted 100
41 5 0084.6 15248 12392 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
5.65 KB
Back to Top