摘要: [Codeforces Round 640 (Div. 4) D. Alice, Bob and Candies](https://codeforces.com/contest/1352/problem/D) 题意:两个人轮流吃数组,一个从左端开始(第一次只吃a[1]),另一个从右端开始,吃掉的元素 阅读全文
posted @ 2020-05-10 21:43 StreamAzure 阅读(266) 评论(0) 推荐(0)
摘要: [Codeforces Round 640 (Div. 4) E. Special Elements](https://codeforces.com/contest/1352/problem/E) 题意:给定元素个数8000的就不要装了,没必要并且会越界 阅读全文
posted @ 2020-05-10 21:20 StreamAzure 阅读(413) 评论(0) 推荐(1)
摘要: [Codeforces Round 640 (Div. 4) B. Same Parity Summands](https://codeforces.com/contest/1352/problem/B) 题意:给定和n与数字个数k,问能否有k个偶数/奇数之和为n 思路:先填k 1个1或者k 1个2 阅读全文
posted @ 2020-05-10 20:51 StreamAzure 阅读(315) 评论(0) 推荐(0)