版本比较
骗分过样例
正文
增加 3 行删除 3 行
86 行未改动8788899091919293949523 行未改动11912012112212312312412512612786 行未改动214215216217218218219220221222149 行未改动全部展开86 行未改动#define pii pair<ll,ll>#define rep(i,a,b) for(ll i=(a);i<=(b);++i)#define per(i,a,b) for(ll i=(a);i>=(b);--i)using namespace std;bool Mbe; bool Mbe;ll read(){ ll x=0,f=1;char ch=getchar(); while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();} while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}23 行未改动 ll r=pw(p%n,x>>=1,n); if(r!=1&&r!=n-1)return 0; if(r==n-1)break; } } } return 1;}namespace Sub1{ ll Mod;86 行未改动 ll r=pw(p%n,x>>=1,n); if(r!=1&&r!=n-1)return 0; if(r==n-1)break; } } } return 1; } void solve(){ rep(i,2,V){149 行未改动全部展开