Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7953
50272
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 29636 3556 Accepted 100
1 1 0002.4 29636 3568 Accepted 100
2 2 3 4 5 0002.8 29636 3652 Accepted 100
3 2 3 4 5 0002.7 29636 3752 Accepted 100
4 2 3 4 5 0002.7 29636 3624 Accepted 100
5 2 3 4 5 0002.7 29636 3700 Accepted 100
6 2 3 4 5 0002.6 29636 3760 Accepted 100
7 3 5 0416.5 58364 49928 Accepted 100
8 3 5 0417.1 58364 50040 Accepted 100
9 3 5 0415.6 58364 50024 Accepted 100
10 3 5 0413.6 58364 50036 Accepted 100
11 3 5 0413.3 58488 50172 Accepted 100
12 3 5 0368.2 58364 50272 Accepted 100
13 3 5 0343.6 58364 50172 Accepted 100
14 4 5 0003.0 29636 3760 Accepted 100
15 4 5 0003.0 29636 3640 Accepted 100
16 4 5 0002.9 29636 3624 Accepted 100
17 4 5 0002.9 29636 3700 Accepted 100
18 4 5 0002.9 29636 3656 Accepted 100
19 4 5 0002.9 29636 3704 Accepted 100
20 4 5 0002.9 29636 3656 Accepted 100
21 5 0763.3 58488 50144 Accepted 100
22 5 0759.4 58488 50140 Accepted 100
23 5 0767.9 58364 50044 Accepted 100
24 5 0778.7 58488 50076 Accepted 100
25 5 0772.8 58364 49996 Accepted 100
26 5 0648.7 58364 49868 Accepted 100
27 5 0635.3 58488 50080 Accepted 100
Submitter:
yan
Compiler:
c++17
Code Length:
806 Bytes
Back to Top