#define _USE_MATH_DEFINES #include #include #include #include #include #include #include #include #include #include ///////// #define REP(i, x, n) for(int i = x; i < n; i++) #define rep(i,n) REP(i,0,n) #define P(p) cout<<(p)< hashList; void makePrime(int N){ int i,j; bool f; for(i=2; i<=N; ++i){ f = true; for(j=0;j= 10); return temp; } void makeHashList(int K,int N){ for(int i=0;i= K) { hashList.push_back( makehash( prime[i] ) ); } } } int main(void){ std::cin.tie(0); std::ios::sync_with_stdio(false); std::cout << std::fixed;// cout << setprecision(10);// int K,N; cin>>K>>N; makePrime(N); makeHashList(K,N); //hashList unsigned int maxLen=0; int ans = 0; unsigned int i=0; for(int No=0;No data; for(unsigned int j=i;j