Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3994
19004
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~6 $a_i \ge 0$ 7 / 7
3 7~16 $n, m\le30$ 25 / 25
4 7~26 $n, m\le 300$ 22 / 22
5 2~31 無其他限制 46 / 46

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.5 6052 3676 Accepted 100
1 1 0002.4 6052 3668 Accepted 100
2 2 5 0002.9 6052 3688 Accepted 100
3 2 5 0040.1 7504 5100 Accepted 100
4 2 5 0425.0 21356 18636 Accepted 100
5 2 5 0428.8 21744 18908 Accepted 100
6 2 5 0435.5 21760 18900 Accepted 100
7 3 4 5 0002.7 6052 3564 Accepted 100
8 3 4 5 0002.5 6052 3684 Accepted 100
9 3 4 5 0002.6 6052 3564 Accepted 100
10 3 4 5 0002.8 6052 3708 Accepted 100
11 3 4 5 0002.7 6052 3684 Accepted 100
12 3 4 5 0002.7 6052 3692 Accepted 100
13 3 4 5 0002.8 6052 3684 Accepted 100
14 3 4 5 0002.8 6052 3696 Accepted 100
15 3 4 5 0002.9 6052 3688 Accepted 100
16 3 4 5 0002.8 6052 3756 Accepted 100
17 4 5 0041.3 7504 5112 Accepted 100
18 4 5 0041.0 7504 4944 Accepted 100
19 4 5 0035.9 7504 5068 Accepted 100
20 4 5 0037.8 7504 4940 Accepted 100
21 4 5 0042.0 7504 5088 Accepted 100
22 4 5 0041.6 7504 5172 Accepted 100
23 4 5 0040.4 7504 5004 Accepted 100
24 4 5 0042.8 7504 5096 Accepted 100
25 4 5 0043.1 7504 5108 Accepted 100
26 4 5 0039.6 7504 5004 Accepted 100
27 5 0453.7 21744 18800 Accepted 100
28 5 0391.4 21760 18920 Accepted 100
29 5 0459.6 21760 18936 Accepted 100
30 5 0483.3 21760 19004 Accepted 100
31 5 0435.5 21760 18952 Accepted 100
Submitter:
807
Compiler:
c++17
Code Length:
824 Bytes
Back to Top