版本比较
题解 CF1630E
正文
增加 2 行删除 2 行
48 行未改动4950515253535455565720 行未改动7879808182828384858643 行未改动48 行未改动// Contest: Codeforces Round #768 (Div. 1)// URL: https://codeforces.com/contest/1630/problem/E// Memory Limit: 256 MB// Time Limit: 2000 ms// //// Powered by CP Editor (https://cpeditor.org)
//And in that light,I find deliverance.#include<bits/stdc++.h>20 行未改动int f[1000003],F[1000003],F_[1000003],FF[1000003],iv[1000003];signed main(){ fac[0]=ifac[0]=1; for(int i=1; i<=1000000; ++i) for(int i=1; i<=1000000; ++i) iv[i]=qp(i,p-2),fac[i]=fac[i-1]*i%p,ifac[i]=qp(fac[i],p-2); for(int T=read();T--;) { int n=read();43 行未改动