hash入门

《挑战程序设计竞赛》P98c++ 代码:数组 #include <bits/stdc++.h> using namespace std; const int M = 1046527;//必须是质数,这样能够比较好的避免hash冲突 const int L = 14;//字符串的最大长度 typedef long long LL; //样例输入: //6 insrt AAA insert AAC
相关文章
相关标签/搜索