摘要: 早上的CF太憋屈了。第一题一开始感觉有点贪心的性质,于是瞎贪了一发,然后1WA了。然后发现可以用二分写,搞了半天二分,怎么改都是WA。在还剩10来分钟结束的时候放弃治疗了,搜题解才发现check函数有问题,check函数利用了题目贪心的性质,我直接没敢用贪心。。。一题没出,丢人。。。菜下午看了一下午博客。为了明天的CCPC,今天不看网络流了,复习一下最短路,开始看qsczse最短路的博客。题目比起... 阅读全文
posted @ 2017-08-18 22:17 Pic 阅读(107) 评论(0) 推荐(0) 编辑
摘要: B. Cards Sortingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasily has a deck of cards consisting of n cards. There is an integer on each of th... 阅读全文
posted @ 2017-08-18 20:08 Pic 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Office Keystime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n people and k keys on a straight line. Every person wants to get to the offi... 阅读全文
posted @ 2017-08-18 19:30 Pic 阅读(164) 评论(0) 推荐(0) 编辑