poj 3264 Balanced Lineup RMQ线段树实现
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 cows. To keep things simple, he will take a contiguous range of cows from the
原创
2015-02-02 18:24:41 ·
956 阅读 ·
0 评论