上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页

2016年2月24日

Slim Span(Kruskal)

摘要: 题目链接:http://poj.org/problem?id=3522 Slim Span Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 7227 Accepted: 3831 Description Given an undi 阅读全文

posted @ 2016-02-24 10:07 若流芳千古 阅读(380) 评论(0) 推荐(0)

2016年2月23日

Replacement(思维题)

摘要: 题目链接:http://codeforces.com/problemset/problem/570/C C. Replacement time limit per test 2 seconds memory limit per test 256 megabytes input standard in 阅读全文

posted @ 2016-02-23 10:38 若流芳千古 阅读(329) 评论(0) 推荐(0)

哈密顿绕行世界问题(dfs+记录路径)

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2181 哈密顿绕行世界问题 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Su 阅读全文

posted @ 2016-02-23 10:24 若流芳千古 阅读(947) 评论(0) 推荐(0)

2016年2月22日

Red and Black(dfs水)

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1312 Red and Black Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Tota 阅读全文

posted @ 2016-02-22 14:22 若流芳千古 阅读(475) 评论(0) 推荐(0)

Quoit Design(最近点对+分治)

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1007 Quoit Design Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Tota 阅读全文

posted @ 2016-02-22 13:46 若流芳千古 阅读(4567) 评论(3) 推荐(3)

2016年2月21日

迷宫问题(bfs+记录路径)

摘要: 题目链接:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=105278#problem/K K - 迷宫问题 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I 阅读全文

posted @ 2016-02-21 12:07 若流芳千古 阅读(3102) 评论(0) 推荐(0)

2016年2月20日

tree(并查集)

摘要: tree Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 986 Accepted Submission(s): 452题目链接:http://a 阅读全文

posted @ 2016-02-20 14:59 若流芳千古 阅读(373) 评论(0) 推荐(0)

sscanf()用法

摘要: http://blog.chinaunix.net/uid-26284412-id-3189214.html 1 #include<cstdio> 2 #include<cstring> 3 #include<string> 4 #include<iostream> 5 #include<algor 阅读全文

posted @ 2016-02-20 14:43 若流芳千古 阅读(146) 评论(0) 推荐(0)

常用的宏定义

摘要: 1 #define ll long long 2 #define eps 1e-10 3 #define MOD 1000000007 4 #define N 100006 5 #define INF 1e12 6 //#define INF 0x1fffffff 阅读全文

posted @ 2016-02-20 14:37 若流芳千古 阅读(249) 评论(0) 推荐(0)

use ambiguous的错误——编译错误

摘要: 出现这样的问题是因为namespace std里面已经有一个count了,而using namespace std;语句把该namespace 打开了,这导致了后面的引用不明确; 不过这里也可以把using namespace std;往后移;ofstream前面加上std; 阅读全文

posted @ 2016-02-20 13:51 若流芳千古 阅读(272) 评论(0) 推荐(0)

上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页

导航