摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2084 #include <map> #include <cstdio> #include <stack> #include <cmath> #include <queue> #include <string> # 阅读全文
posted @ 2019-03-26 00:22 mile-star 阅读(114) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2602 01背包 1 #include <map> 2 #include <cstdio> 3 #include <stack> 4 #include <cmath> 5 #include <queue> 6 #i 阅读全文
posted @ 2019-03-25 23:58 mile-star 阅读(129) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1232 并查集入门,模板题 1 #include <bits/stdc++.h> 2 #define maxn 1005 3 typedef long long ll; 4 using namespace std; 阅读全文
posted @ 2019-03-25 22:34 mile-star 阅读(127) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1166 1 #include <bits/stdc++.h> 2 #define lid id<<1 3 #define rid id<<1|1 4 #define maxn 50005 5 using names 阅读全文
posted @ 2019-03-25 22:30 mile-star 阅读(144) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1010 1 #include <cstdio> 2 #include <cstring> 3 #include <iostream> 4 #include <algorithm> 5 #include <cmath 阅读全文
posted @ 2019-03-25 22:28 mile-star 阅读(169) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1008 1 #include <bits/stdc++.h> 2 #define lid id<<1 3 #define rid id<<1|1 4 #define maxn 50005 5 using names 阅读全文
posted @ 2019-03-25 22:24 mile-star 阅读(159) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1021 1 #include <map> 2 #include <cstdio> 3 #include <stack> 4 #include <cmath> 5 #include <queue> 6 #includ 阅读全文
posted @ 2019-03-25 22:22 mile-star 阅读(107) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1009 1 #include <map> 2 #include <cstdio> 3 #include <stack> 4 #include <cmath> 5 #include <queue> 6 #includ 阅读全文
posted @ 2019-03-25 22:20 mile-star 阅读(142) 评论(0) 推荐(0) 编辑
摘要: I Hate It Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 111729 Accepted Submission(s): 41744 Pr 阅读全文
posted @ 2019-03-15 13:56 mile-star 阅读(130) 评论(0) 推荐(0) 编辑
摘要: F - DZY Loves Colors DZY loves colors, and he enjoys painting. On a colorful day, DZY gets a colorful ribbon, which consists of n units (they are numb 阅读全文
posted @ 2019-03-12 17:56 mile-star 阅读(559) 评论(0) 推荐(0) 编辑