2019-04-14 08:26发布 生成海报
ll inv[N]; void init(){ inv[1] = inv[0] = 1; for(int i = 2;i < N;i++) inv[i] = inv[mod%i]*(mod-mod/i)%mod; }