【POJ3368】Frequent values(RMQ)
DescriptionYou are given a sequence of n integers a1 , a2 , … , an in non-decreasing order. In addition to that, you are given several queries consisting of indices i and j (1 ≤ i ≤ j ≤ n). For each qu
原创
2017-03-27 20:11:03 ·
270 阅读 ·
0 评论