IT民工
加油!
摘要: 用hash写了一遍,hash的空间复杂度不是盖的/*Accepted 176460K 3907MS C++ 1006B 2012-05-25 09:13:41 */#include<cstdio>#include<cstring>#include<cstdlib>#define cal(x) ( (x + (1 << 29 | 1) * M) % MAX)#define LL __int64const int MAX = 20000001;const int M = 17531753;const int MAXN = 4005;int hash[ 阅读全文
posted @ 2012-05-25 09:15 找回失去的 阅读(200) 评论(0) 推荐(0) 编辑