![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树状数组
渴鱼
菜鸟进行曲
展开
-
USACO17JAN Balanced Photo
题目题目描述Farmer John is arranging his N cows in a line to take a photo (1≤N≤100,000). The height of the ith cow in sequence ishi, and the heights of all cows are distinct. As with all photographs of his原创 2017-08-18 19:58:23 · 258 阅读 · 0 评论 -
USACO-2017-FEB-金组 Why Did the Cow Cross the Road III
题目描述The layout of Farmer John’s farm is quite peculiar, with a large circular road running around the perimeter of the main field on which his cows graze during the day. Every morning, the cows cross t原创 2017-08-18 23:37:11 · 438 阅读 · 0 评论