摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1496 上一题hash的升级版,不过还是简单题..只能当作是练手了...View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cstdlib> 4 5 const int maxn = 50007; 6 int hash[maxn], cnt[maxn]; 7 int tx[101]; 8 9 void pre(){10 for (int i = 1; i <= 100; i++){11 tx[i 阅读全文