摘要: 今天终于把ZKW线段树搞出来了,也算还了一个欠账。 阅读全文
posted @ 2016-12-06 22:21 ZegWe 阅读(589) 评论(0) 推荐(0) 编辑
摘要: N (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judgment, they visited the neighborhood 'watering hole' and drank a few too many beers before dinner. When it was time to line up for their evening meal, they did not line up in the required ascending numerical order of their brands. 阅读全文
posted @ 2016-12-06 21:31 ZegWe 阅读(582) 评论(0) 推荐(0) 编辑