Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1187
15356
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.7 23776 3696 Accepted 100
1 1 0002.6 23776 3464 Accepted 100
2 2 5 0003.0 23776 3696 Accepted 100
3 2 5 0013.8 23776 5584 Accepted 100
4 2 5 0114.5 23776 14992 Accepted 100
5 2 5 0120.8 23776 15160 Accepted 100
6 2 5 0121.2 23776 15356 Accepted 100
7 3 4 5 0002.6 23776 3712 Accepted 100
8 3 4 5 0002.7 23776 3680 Accepted 100
9 3 4 5 0002.8 23776 3680 Accepted 100
10 3 4 5 0002.8 23776 3684 Accepted 100
11 3 4 5 0002.8 23776 3584 Accepted 100
12 3 4 5 0002.7 23776 3764 Accepted 100
13 3 4 5 0002.6 23776 3760 Accepted 100
14 3 4 5 0002.7 23776 3712 Accepted 100
15 3 4 5 0002.8 23776 3732 Accepted 100
16 3 4 5 0002.7 23776 3696 Accepted 100
17 4 5 0014.6 23776 5520 Accepted 100
18 4 5 0014.4 23776 5488 Accepted 100
19 4 5 0014.4 23776 5340 Accepted 100
20 4 5 0014.2 23776 5464 Accepted 100
21 4 5 0015.0 23776 5444 Accepted 100
22 4 5 0014.8 23776 5436 Accepted 100
23 4 5 0014.2 23776 5484 Accepted 100
24 4 5 0014.5 23776 5488 Accepted 100
25 4 5 0014.7 23776 5356 Accepted 100
26 4 5 0014.0 23776 5464 Accepted 100
27 5 0135.2 23776 15268 Accepted 100
28 5 0117.6 23776 15352 Accepted 100
29 5 0130.3 23776 15184 Accepted 100
30 5 0129.3 23776 15356 Accepted 100
31 5 0123.9 23776 15348 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1002 Bytes
Back to Top