RMQ
文章平均质量分 79
朱仙令
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
A - Balanced Lineup
DescriptionFor 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 · 432 阅读 · 0 评论 -
B - Frequent values
DescriptionYou are given a sequence of n integersa1 , a2 , ... , an in non-decreasing order. In addition to that, you are given several queries consisting of indicesi and j (1 ≤ i ≤ j ≤ n).原创 2016-07-28 17:03:10 · 483 阅读 · 0 评论
分享