Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6883
19228
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~6 $n \leq 1000, q = 0$ 10 / 10
3 2~13 $q = 0$ 15 / 15
4 2~6, 14~20 $n, q \leq 1000$ 15 / 15
5 2~27 無其他限制 60 / 60

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.5 25112 3592 Accepted 100
1 1 0002.5 25112 3532 Accepted 100
2 2 3 4 5 0002.9 25112 3396 Accepted 100
3 2 3 4 5 0002.8 25112 3556 Accepted 100
4 2 3 4 5 0002.7 25112 3536 Accepted 100
5 2 3 4 5 0002.6 25112 3608 Accepted 100
6 2 3 4 5 0002.7 25112 3532 Accepted 100
7 3 5 0324.0 25112 19160 Accepted 100
8 3 5 0309.6 25112 19228 Accepted 100
9 3 5 0318.9 25112 19224 Accepted 100
10 3 5 0304.5 25112 19168 Accepted 100
11 3 5 0315.8 25112 19220 Accepted 100
12 3 5 0320.5 25112 19152 Accepted 100
13 3 5 0318.2 25112 19176 Accepted 100
14 4 5 0003.0 25112 3572 Accepted 100
15 4 5 0003.0 25112 3404 Accepted 100
16 4 5 0002.9 25112 3544 Accepted 100
17 4 5 0002.9 25112 3568 Accepted 100
18 4 5 0002.9 25112 3568 Accepted 100
19 4 5 0002.9 25112 3536 Accepted 100
20 4 5 0002.8 25112 3572 Accepted 100
21 5 0681.2 25112 19224 Accepted 100
22 5 0694.2 25112 19164 Accepted 100
23 5 0697.3 25112 19160 Accepted 100
24 5 0706.5 25112 19176 Accepted 100
25 5 0679.5 25112 19220 Accepted 100
26 5 0604.1 25112 19220 Accepted 100
27 5 0570.0 25112 19164 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
855 Bytes
Back to Top