UVA11235 - Frequent values (QMQ问题)
Problem F: Frequent values
You are given a sequence of n integersa1 , a2 , ... , anin non-decreasing order.
In addition to that, you are given several queries consisting of indices
i and j (1 ≤ i
原创
2014-10-04 22:12:44 ·
403 阅读 ·
0 评论