版本比较
题解 P6091 【【模板】原根】
正文
增加 1 行删除 1 行
102 行未改动全部展开1031041051061071071081091101115 行未改动102 行未改动全部展开 proc(phi[p]); int mn=findrt(p); getrt(p,mn); sort(ans+1,ans+ctans+1); printf("%d\n",ctans); printf("%d\n",ctans); for (int i=1;i<=ctans/wtf;i++) {printf("%d ",ans[i*wtf]);} printf("\n"); } else { printf("0\n\n");5 行未改动