Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 0~11 $n \leq 20, q \leq 20$ 27 / 27
3 0~21 $n \leq 5000, q \leq 5000$ 33 / 33
4 0~31 無其他限制 40 / 40

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 0002.6 6044 3816 Accepted 100
1 1 2 3 4 0002.5 6044 3812 Accepted 100
2 2 3 4 0002.7 6044 3824 Accepted 100
3 2 3 4 0002.6 6044 3828 Accepted 100
4 2 3 4 0002.4 6044 3720 Accepted 100
5 2 3 4 0002.4 6044 3884 Accepted 100
6 2 3 4 0002.5 6044 3852 Accepted 100
7 2 3 4 0002.5 6044 3808 Accepted 100
8 2 3 4 0002.6 6044 3776 Accepted 100
9 2 3 4 0002.6 6044 3884 Accepted 100
10 2 3 4 0002.5 6044 3720 Accepted 100
11 2 3 4 0002.4 6044 3720 Accepted 100
12 3 4 0003.7 6176 4048 Accepted 100
13 3 4 0003.3 6044 3888 Accepted 100
14 3 4 0003.6 6176 3960 Accepted 100
15 3 4 0003.7 6176 3780 Accepted 100
16 3 4 0003.9 6176 3916 Accepted 100
17 3 4 0003.7 6176 3880 Accepted 100
18 3 4 0003.7 6176 3960 Accepted 100
19 3 4 0003.7 6176 3956 Accepted 100
20 3 4 0003.8 6176 3916 Accepted 100
21 3 4 0003.8 6176 4048 Accepted 100
22 4 0148.4 10736 8088 Accepted 100
23 4 0148.2 10736 8108 Accepted 100
24 4 0148.5 10736 8100 Accepted 100
25 4 0154.5 10736 8128 Accepted 100
26 4 0149.5 10736 8124 Accepted 100
27 4 0147.8 10736 8128 Accepted 100
28 4 0150.6 10736 8164 Accepted 100
29 4 0149.4 10736 7988 Accepted 100
30 4 0139.6 10644 7836 Accepted 100
31 4 0143.1 10576 7908 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
796 Bytes
Back to Top