随笔分类 - 杭电hdu
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=18752210 1020 2031 12 21000 1000给定坐标 1 //最小生成树 2 #include 3 #include 4 #include 5 #include 6 #include ...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1233最小生成树,kruskal算法 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const in...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1213 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int N=1005; 8 int...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1116 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int N=30; 8 int f...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2018 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int main() 9 {10 ...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2015 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int main() 9 {10 ...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2013 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int main() 7 { 8 int n; 9 while(ci...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2012数组大小算错了。。。。。郁闷-_- 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const ...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1031 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 const int N=...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1022 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 const int N=...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1021//找规律。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 in...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2717//水搜。。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 struc...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1017 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 int main() 8 { 9 //...
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=1075 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 struct tree{ ...
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=1247 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 char p[50005]...
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=1251 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 struct tree{//建立字...
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=1426 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 char map[12][...
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=1002复习一下大数模板: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #incl...
阅读全文
摘要:Moving TablesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20344Accepted Submission(s): 6900Prob...
阅读全文
摘要:Wooden SticksTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12443Accepted Submission(s): 5167Prob...
阅读全文

浙公网安备 33010602011771号