2017年7月2日

codeforces 的20道C题

摘要: A - Warrior and Archer CodeForces - 595C n 偶数 然后n个数字 A B 轮流取一个 A让差变小B让差变大 直到最后2 个 求的是最小剩下的差 最后剩下的 L R 相距 n/2 求一下最小的就行 #include <iostream> #include <cs 阅读全文

posted @ 2017-07-02 19:58 HelloWorld!--By-MJY 阅读(502) 评论(0) 推荐(0) 编辑

2013腾讯编程马拉松初赛第0,1场

摘要: HDU4500 直接模拟 #include <iostream> #include <cstdio> #include <cmath> #include <map> #include <algorithm> #include <cstring> #include <string> #include< 阅读全文

posted @ 2017-07-02 19:08 HelloWorld!--By-MJY 阅读(166) 评论(0) 推荐(0) 编辑

导航