Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6737
27192
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.6 17760 3720 Accepted 100
1 1 0002.4 17760 3828 Accepted 100
2 2 3 4 5 0002.6 17760 3760 Accepted 100
3 2 3 4 5 0002.7 17760 3868 Accepted 100
4 2 3 4 5 0002.7 17760 3864 Accepted 100
5 2 3 4 5 0002.7 17760 3928 Accepted 100
6 2 3 4 5 0002.7 17760 3848 Accepted 100
7 3 5 0302.3 32192 27020 Accepted 100
8 3 5 0309.6 32316 26992 Accepted 100
9 3 5 0301.8 32316 27120 Accepted 100
10 3 5 0309.5 32316 27192 Accepted 100
11 3 5 0306.9 32316 27188 Accepted 100
12 3 5 0302.5 32192 27004 Accepted 100
13 3 5 0291.5 32192 26960 Accepted 100
14 4 5 0002.9 17760 3868 Accepted 100
15 4 5 0004.0 17760 3900 Accepted 100
16 4 5 0002.9 17760 3760 Accepted 100
17 4 5 0002.9 17760 4024 Accepted 100
18 4 5 0002.9 17760 3856 Accepted 100
19 4 5 0003.0 17760 3880 Accepted 100
20 4 5 0003.0 17760 3904 Accepted 100
21 5 0679.2 32316 27064 Accepted 100
22 5 0667.0 32316 26988 Accepted 100
23 5 0665.9 32316 27148 Accepted 100
24 5 0670.0 32316 27184 Accepted 100
25 5 0671.7 32316 27096 Accepted 100
26 5 0620.0 32316 27132 Accepted 100
27 5 0598.7 32316 27036 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.4 KB
Back to Top