随笔分类 -  RMQ

摘要:描述 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 阅读全文
posted @ 2018-08-19 08:32 zdragon 阅读(317) 评论(0) 推荐(0)
摘要:描述 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 Ul 阅读全文
posted @ 2018-08-19 08:20 zdragon 阅读(166) 评论(0) 推荐(0)