上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页

2016年1月11日

HDU1698(线段树入门题)

摘要: Just a HookTime Limit:2000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionIn the game of DotA, Pudge’s meat hook is actually the most ho... 阅读全文

posted @ 2016-01-11 22:29 vCoders 阅读(258) 评论(0) 推荐(0)

POJ2528(离散化+线段树区间更新)

摘要: Mayor's posters Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Description The citizens of Bytetown, AB, could not stand that th 阅读全文

posted @ 2016-01-11 17:24 vCoders 阅读(167) 评论(0) 推荐(0)

POJ3630(Trie树)

摘要: Phone List Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 26385 Accepted: 7957 Description Given a list of phone numbers, determine if it 阅读全文

posted @ 2016-01-11 09:40 vCoders 阅读(212) 评论(0) 推荐(0)

HDU1251(字典树)

摘要: 统计难题 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others)Total Submission(s): 27876 Accepted Submission(s): 11120 Problem 阅读全文

posted @ 2016-01-11 08:25 vCoders 阅读(144) 评论(0) 推荐(0)

2016年1月10日

HDU1247(经典字典树)

摘要: Hat’s Words Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11894 Accepted Submission(s): 4239 Pr 阅读全文

posted @ 2016-01-10 22:28 vCoders 阅读(321) 评论(0) 推荐(0)

POJ2513(字典树+图的连通性判断)

摘要: //用map映射TLE,字典树就AC了#include"cstdio"#include"set"using namespace std;const int MAXN=510005;const int N=26;//26个小写英文字母 struct node{ int val;//存放字符串的h... 阅读全文

posted @ 2016-01-10 21:25 vCoders 阅读(518) 评论(0) 推荐(0)

2015年12月8日

POJ1363

摘要: 思路:1~N个数每来一个数就入栈,若栈顶元素与 给出序列中l所指向的元素相等则出栈直到栈为空或不相等为止,如最后栈为空则Yes不为空则No#include"cstdio"#include"cstring"using namespace std;const int MAXN=1005;int a[MA... 阅读全文

posted @ 2015-12-08 09:04 vCoders 阅读(360) 评论(0) 推荐(0)

2015年12月4日

UVa11624(逃离火焰问题)

摘要: #include"cstdio" #include"queue" #include"cstring" using namespace std; const int MAXN=1005; const int INF=0X7fffffff; typedef pair P; char mp[MAXN][MAXN]; int ft[MAXN][MAXN]; int jt[MAXN][MAXN]; int... 阅读全文

posted @ 2015-12-04 09:05 vCoders 阅读(218) 评论(0) 推荐(0)

2015年12月3日

HDOJ1495(倒水BFS)

摘要: 非常可乐 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10442 Accepted Submission(s): 4193 Problem D 阅读全文

posted @ 2015-12-03 17:14 vCoders 阅读(302) 评论(0) 推荐(0)

poj3414Pots(倒水BFS)

摘要: Pots Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13231 Accepted: 5553 Special Judge Description You are given two pots, having the volu 阅读全文

posted @ 2015-12-03 16:26 vCoders 阅读(160) 评论(0) 推荐(0)

上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页

导航