Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3903
15436
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.6 23864 3504 Accepted 100
1 1 0002.6 23864 3608 Accepted 100
2 2 5 0003.1 23864 3636 Accepted 100
3 2 5 0040.7 23864 5468 Accepted 100
4 2 5 0405.7 23864 15108 Accepted 100
5 2 5 0426.7 23864 15372 Accepted 100
6 2 5 0420.7 23864 15384 Accepted 100
7 3 4 5 0002.9 23864 3668 Accepted 100
8 3 4 5 0002.9 23864 3692 Accepted 100
9 3 4 5 0003.0 23864 3692 Accepted 100
10 3 4 5 0003.0 23864 3724 Accepted 100
11 3 4 5 0002.9 23864 3696 Accepted 100
12 3 4 5 0003.0 23864 3772 Accepted 100
13 3 4 5 0003.0 23864 3612 Accepted 100
14 3 4 5 0002.9 23864 3636 Accepted 100
15 3 4 5 0002.9 23864 3636 Accepted 100
16 3 4 5 0003.1 23864 3696 Accepted 100
17 4 5 0042.5 23864 5368 Accepted 100
18 4 5 0041.2 23864 5460 Accepted 100
19 4 5 0036.4 23864 5444 Accepted 100
20 4 5 0038.7 23864 5448 Accepted 100
21 4 5 0043.0 23864 5448 Accepted 100
22 4 5 0042.7 23864 5492 Accepted 100
23 4 5 0040.7 23864 5392 Accepted 100
24 4 5 0042.6 23864 5536 Accepted 100
25 4 5 0042.5 23864 5460 Accepted 100
26 4 5 0040.3 23864 5492 Accepted 100
27 5 0445.8 23864 15372 Accepted 100
28 5 0387.2 23864 15312 Accepted 100
29 5 0447.9 23864 15340 Accepted 100
30 5 0451.6 23864 15392 Accepted 100
31 5 0428.2 23864 15436 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.15 KB
Back to Top