摘要: Codeforces Round 452 (Div. 2) A Splitting in Teams 题目链接: [http://codeforces.com/contest/899/problem/A][2ef9cdcd] 思路: 统计1和2出现的次数,尽量使2能够与1匹配尽可能多用。假设1再匹配 阅读全文
posted @ 2017-12-17 21:18 lemonsbiscuit 阅读(289) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round 451 (Div. 2) A Rounding 题目链接: [http://codeforces.com/contest/898/problem/A][815db73d] 思路: 小于等于5向下,大于补上差值输出 代码: c++ include using name 阅读全文
posted @ 2017-12-17 12:48 lemonsbiscuit 阅读(416) 评论(0) 推荐(0) 编辑
摘要: Educational Codeforces Round 34 (Rated for Div. 2) A Hungry Student Problem 题目链接: [http://codeforces.com/contest/903/problem/A][abbccaf2] 思路: 直接模拟 代码: 阅读全文
posted @ 2017-12-17 12:02 lemonsbiscuit 阅读(333) 评论(0) 推荐(0) 编辑