#求组

逆元应用求组合数

例题:here(求C_{n}^{k}+C_{n}^{k+1}+cdots+C_{n}^{n})(C_{n}^{0}+C_{n}^{1}+C_{n}^{2}+C_{n}^{3}+cdots+C_{n}^{n}=2^{n})(则C_{n}^{k}+C_{n}^{k+1}+cdots+C_{n}^{n}=2^{n}-left...
代码星球 ·2020-12-28

杨辉三角求组合数模板

1#include<iostream>2#include<cstdio>3#include<algorithm>4#include<cstring>5#include<string>6usingnamespacestd;7typedeflonglongll;8...