Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1062
7564
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 6208 3576 Accepted 100
1 1 0002.5 6208 3652 Accepted 100
2 2 5 0002.5 6208 3524 Accepted 100
3 2 5 0012.1 6440 3796 Accepted 100
4 2 5 0103.5 9796 7228 Accepted 100
5 2 5 0107.7 9984 7488 Accepted 100
6 2 5 0109.7 9992 7424 Accepted 100
7 3 4 5 0002.7 6208 3540 Accepted 100
8 3 4 5 0002.5 6208 3520 Accepted 100
9 3 4 5 0002.5 6208 3528 Accepted 100
10 3 4 5 0002.6 6208 3584 Accepted 100
11 3 4 5 0002.5 6208 3540 Accepted 100
12 3 4 5 0002.4 6208 3516 Accepted 100
13 3 4 5 0002.4 6208 3464 Accepted 100
14 3 4 5 0002.4 6208 3376 Accepted 100
15 3 4 5 0002.5 6208 3592 Accepted 100
16 3 4 5 0002.4 6208 3372 Accepted 100
17 4 5 0012.7 6432 3876 Accepted 100
18 4 5 0012.6 6424 3708 Accepted 100
19 4 5 0011.9 6428 3920 Accepted 100
20 4 5 0012.4 6420 3860 Accepted 100
21 4 5 0013.1 6432 3936 Accepted 100
22 4 5 0012.7 6436 3928 Accepted 100
23 4 5 0012.4 6440 3920 Accepted 100
24 4 5 0012.7 6432 3880 Accepted 100
25 4 5 0013.5 6436 3868 Accepted 100
26 4 5 0012.3 6436 3876 Accepted 100
27 5 0120.0 9988 7448 Accepted 100
28 5 0106.3 9948 7236 Accepted 100
29 5 0116.4 9992 7488 Accepted 100
30 5 0117.3 9992 7352 Accepted 100
31 5 0110.1 9992 7564 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1020 Bytes
Back to Top