![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
RMQ
文章平均质量分 79
朱仙令
这个作者很懒,什么都没留下…
展开
-
A - Balanced Lineup
Description For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game of Ultimate Frisbee with some of the cow原创 2016-07-28 16:59:04 · 342 阅读 · 0 评论 -
B - Frequent values
Description You 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).原创 2016-07-28 17:03:10 · 391 阅读 · 0 评论