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)

导航