12 2015 档案

 
HDU 5512
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=5512gcd(a,b)的位置都是可以选的,之后判断一下奇偶#include #include using namespace std;int gcd(int a, int b) { return a == 0... 阅读全文
posted @ 2015-12-30 10:02 LegendaryAC 阅读(278) 评论(0) 推荐(1)
HDU 1863
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1863复习考研练练写Prim,第一次写,乱搞的,有点难看邻接表+堆#include #include #include #include using namespace std;int n, m, cnt, ct,... 阅读全文
posted @ 2015-12-21 18:49 LegendaryAC 阅读(177) 评论(0) 推荐(0)