Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

15682
22668
Wrong Answer
40

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$ 0 / 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.3 9232 6032 Accepted 100
1 1 3 5 0005.2 9232 6088 Accepted 100
2 2 5 0005.4 9232 6032 Accepted 100
3 2 3 5 0005.3 9232 5992 Accepted 100
4 2 3 5 0005.3 9232 5864 Accepted 100
5 2 3 5 0005.3 9232 6040 Accepted 100
6 2 3 5 0005.4 9232 6004 Accepted 100
7 2 3 5 0005.3 9232 6048 Accepted 100
8 2 3 5 0005.1 9232 6032 Accepted 100
9 2 5 0005.6 9232 6044 Accepted 100
10 2 5 0005.5 9232 6044 Accepted 100
11 2 5 0005.4 9232 5836 Accepted 100
12 2 5 0005.5 9232 6040 Accepted 100
13 3 5 0005.2 9232 5992 Accepted 100
14 3 5 0159.3 23676 21344 Accepted 100
15 3 5 0145.9 13588 11044 Accepted 100
16 3 5 0133.1 15512 11756 Accepted 100
17 3 5 0143.9 12928 10560 Accepted 100
18 3 5 0144.6 12928 10560 Accepted 100
19 3 5 0141.8 12928 10552 Accepted 100
20 3 5 0141.8 12928 10560 Accepted 100
21 3 5 0143.1 12928 10616 Accepted 100
22 3 4 5 0157.0 22324 19936 Accepted 100
23 3 4 5 0144.2 13588 10988 Accepted 100
24 3 4 5 0128.4 15512 11840 Accepted 100
25 3 4 5 0136.1 12928 10696 Accepted 100
26 4 5 1914.6 25320 22612 Accepted 100
27 4 5 0194.1 12928 10620 Accepted 100
28 4 5 0335.5 12928 10676 Accepted 100
29 4 5 0208.7 12928 10564 Accepted 100
30 4 5 0208.4 12928 10612 Accepted 100
31 4 5 0268.5 12928 10684 Accepted 100
32 4 5 1910.8 16848 14644 Accepted 100
33 4 5 1922.4 16836 14592 Wrong Answer 0
34 5 1911.3 25324 22668 Accepted 100
35 5 0231.1 12928 10580 Accepted 100
36 5 0237.1 12928 10648 Accepted 100
37 5 0211.3 12928 10648 Accepted 100
38 5 0234.0 12928 10520 Accepted 100
39 5 0277.2 12928 10620 Accepted 100
40 5 1917.1 16840 14460 Accepted 100
41 5 1905.8 16844 14512 Wrong Answer 0
Submitter:
Compiler:
c++14
Code Length:
3.34 KB
Back to Top