#BZOJ3339. Rmq Problem
Rmq Problem
题目描述

输入格式

输出格式
![]()
7 5
0 2 1 0 1 3 2
1 3
2 3
1 4
3 6
2 7
3
0
3
2
4
数据范围与约定



![]()
7 5
0 2 1 0 1 3 2
1 3
2 3
1 4
3 6
2 7
3
0
3
2
4

By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.