正文
增加 2 行删除 2 行
33 行未改动34353637383940414249 行未改动92939495969733 行未改动const int MAXN=1e5+10;LL n,g;int p[10]={0,2,3,4679,35617};int jc[5][40010],ys[MAXN],cnt,a[10];LL mp=1,M[10],t[10],ans;LL ksm(LL x,LL y,LL MODD) {LL res=1;while(y) {49 行未改动ans=(ans+M[i]*a[i]%mp*t[i]%mp)%mp;}cout<<ksm(g,ans,999911659);return 0;}```33 行未改动34353637383940414249 行未改动92939495969733 行未改动const int MAXN=1e5+10;LL n,g;int p[10]={0,2,3,4679,35617};int jc[5][40010],ys[MAXN],cnt,a[10];LL mp=1,M[10],t[10],ans;LL ksm(LL x,LL y,LL MODD) {LL res=1;while(y) {49 行未改动ans=(ans+M[i]*a[i]%mp*t[i]%mp)%mp;}cout<<ksm(g,ans,999911659);return 0;}```