摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 typedef long long LL; 8 const LL q=2147483647; 9 const int a=3; 10 const int mod=76543; 11 LL hs[mod],id[... 阅读全文