上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 43 下一页
摘要: #include #include #include #include #include #include #include #include using namespace std; #define INF 0x3f3f3f3f #define LL long long #define mem(a,b) memset(a,b,sizeof(a)) #define MAXN 10... 阅读全文
posted @ 2016-10-31 14:42 qlky 阅读(188) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include using namespace std; #define INF 0x3f3f3f3f #define LL long long #define mem(a,b) memset(a,b,sizeof(a)) #define MAXN 100010 ... 阅读全文
posted @ 2016-10-24 14:09 qlky 阅读(193) 评论(0) 推荐(0) 编辑
摘要: PULLING YOU ALONG SINCE 2009 ... 阅读全文
posted @ 2016-09-21 20:17 qlky 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1001 1002 1005 阅读全文
posted @ 2016-09-18 16:53 qlky 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 待续 阅读全文
posted @ 2016-09-13 23:14 qlky 阅读(108) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; #define INF 0x3f3f3f3f #define LL long long int a[10005],b[10005],n; void select_sort() { int i,j,x; for(i=0;i0 && tmp #include #include #inc... 阅读全文
posted @ 2016-09-12 16:00 qlky 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 待续 阅读全文
posted @ 2016-09-11 23:24 qlky 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 待续 阅读全文
posted @ 2016-09-09 23:56 qlky 阅读(89) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3140 依然是差异最小问题,不过这次是去边。思路是这样的,先记录每个点的子节点个数,然后遍历每个边。 有两个问题要注意: abs可能会出编译适配问题,可以自己写一个 INF对LL是不够用的,所以加了个INFL 阅读全文
posted @ 2016-09-08 23:46 qlky 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 待续 阅读全文
posted @ 2016-09-07 23:11 qlky 阅读(115) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 43 下一页