摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2084 #include <map> #include <cstdio> #include <stack> #include <cmath> #include <queue> #include <string> # 阅读全文
摘要:
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 阅读全文
摘要:
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; 阅读全文
摘要:
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 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1010 1 #include <cstdio> 2 #include <cstring> 3 #include <iostream> 4 #include <algorithm> 5 #include <cmath 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文