Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5868
27108
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.8 29636 3636 Accepted 100
1 1 0002.6 29636 3716 Accepted 100
2 2 3 4 5 0002.7 29636 3664 Accepted 100
3 2 3 4 5 0002.8 29636 3588 Accepted 100
4 2 3 4 5 0002.6 29636 3496 Accepted 100
5 2 3 4 5 0002.7 29636 3608 Accepted 100
6 2 3 4 5 0002.8 29636 3624 Accepted 100
7 3 5 0267.5 29636 26988 Accepted 100
8 3 5 0264.4 29636 27012 Accepted 100
9 3 5 0262.7 29636 27040 Accepted 100
10 3 5 0277.1 29636 27036 Accepted 100
11 3 5 0262.0 29636 27060 Accepted 100
12 3 5 0271.0 29636 27000 Accepted 100
13 3 5 0267.3 29636 26892 Accepted 100
14 4 5 0002.9 29636 3500 Accepted 100
15 4 5 0002.9 29636 3736 Accepted 100
16 4 5 0002.8 29636 3628 Accepted 100
17 4 5 0002.8 29636 3632 Accepted 100
18 4 5 0002.9 29636 3608 Accepted 100
19 4 5 0002.9 29636 3672 Accepted 100
20 4 5 0003.0 29636 3668 Accepted 100
21 5 0590.7 29636 27108 Accepted 100
22 5 0591.1 29636 27028 Accepted 100
23 5 0583.4 29636 27016 Accepted 100
24 5 0579.7 29636 26992 Accepted 100
25 5 0584.1 29636 26980 Accepted 100
26 5 0524.8 29636 26884 Accepted 100
27 5 0503.1 29636 27000 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1002 Bytes
Back to Top