Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2194
17212
Wrong Answer
57

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~12 $n \le 100$ 0 / 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 0005.4 11692 5936 Accepted 100
1 1 3 5 0005.2 11692 5988 Accepted 100
2 2 5 0005.2 11692 6036 Accepted 100
3 2 3 5 0005.3 11692 5984 Accepted 100
4 2 3 5 0005.2 11692 5936 Accepted 100
5 2 3 5 0005.3 11692 5948 Accepted 100
6 2 3 5 0005.3 11692 6004 Accepted 100
7 2 3 5 0005.2 11692 5928 Accepted 100
8 2 3 5 0005.3 11692 5928 Accepted 100
9 2 5 0005.4 11692 5904 Wrong Answer 0
10 2 5 0005.3 11692 6012 Accepted 100
11 2 5 0005.2 11692 5804 Accepted 100
12 2 5 0005.4 11692 6020 Accepted 100
13 3 5 0005.1 11692 5924 Accepted 100
14 3 5 0083.0 20304 17212 Accepted 100
15 3 5 0069.4 15916 12704 Accepted 100
16 3 5 0050.8 15772 10244 Accepted 100
17 3 5 0067.4 15388 12020 Accepted 100
18 3 5 0068.4 15388 12016 Accepted 100
19 3 5 0069.0 15388 12008 Accepted 100
20 3 5 0070.2 15388 11888 Accepted 100
21 3 5 0072.2 15388 12012 Accepted 100
22 3 4 5 0078.6 19628 16428 Accepted 100
23 3 4 5 0070.5 15916 12560 Accepted 100
24 3 4 5 0055.8 15772 10464 Accepted 100
25 3 4 5 0067.3 15388 12064 Accepted 100
26 4 5 0083.3 21476 16840 Accepted 100
27 4 5 0079.4 15652 13108 Accepted 100
28 4 5 0076.5 15652 13096 Accepted 100
29 4 5 0080.3 15652 12900 Accepted 100
30 4 5 0080.4 15652 13028 Accepted 100
31 4 5 0079.1 15652 13036 Accepted 100
32 4 5 0078.6 17212 14164 Accepted 100
33 4 5 0079.5 17384 14300 Accepted 100
34 5 0082.1 21472 16828 Wrong Answer 0
35 5 0086.7 15652 12896 Accepted 100
36 5 0078.5 15652 12888 Accepted 100
37 5 0082.4 15652 12896 Accepted 100
38 5 0080.8 15652 13080 Accepted 100
39 5 0087.0 15652 13020 Accepted 100
40 5 0079.6 17372 14388 Accepted 100
41 5 0084.0 17284 14248 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.98 KB
Back to Top