版本比较
+1 −1增加 1 行删除 1 行
111 行未改动全部展开1121131141151161161171181191204 行未改动111 行未改动全部展开 for(int i=1;i<=n;i++) { if(i==1)printf("1\n"); else if(i==2)printf("-1\n"); else else { int tot=jc[i-1]*ksm(2,(i-1)*i/2-i)%mod; printf("%lld\n",tot*ksm(f[i],mod-2)%mod); }4 行未改动