摘要: #include <iostream>#include <stdio.h>using namespace std;typedef unsigned long long ULL;const int N=100010,P=131;int n,m;char str[N];ULL h[N],p[N];ULL 阅读全文
posted @ 2021-10-30 19:14 小白QIU 阅读(35) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std;const int N=10010;int n,m;int main(){ for(int i=100000;;i++)//定以大于100000质数 { bool flag=true; for(int j=2;j*j<i; 阅读全文
posted @ 2021-10-30 14:43 小白QIU 阅读(35) 评论(0) 推荐(0)