版本比较
20241214北京记录
正文
增加 10 行删除 10 行
22 行未改动232425262728292728293031323344 行未改动7879808182828384858688 行未改动17517617717817918018117918018118218318418572 行未改动25825926026126226326426226326426526626726860 行未改动22 行未改动 * @Date: 2024-12-14 08:36:36 * @LastEditors: 2019yyy * @LastEditTime: 2024-12-14 09:04:58 * @FilePath: \code\20241214\agc106C.cpp * @Description: * * I love Chtholly forever * @Description: * * I love Chtholly forever */#include<bits/stdc++.h>using namespace std;int a[510][510],sum[510][510];44 行未改动下面给一些常用的 ( 我遇到的 ):
$F(x)=\displaystyle\sum_nx^{kn}=\frac{1}{1-x^k}$
$F(x)=\displaystyle\sum_np^nx^{n}=\frac{1}{1-nx}$ ( 等比数列 ) $F(x)=\displaystyle\sum_np^nx^{n}=\frac{1}{1-nx}$ ( 等比数列 )
$F(x)=\displaystyle\sum_n\binom{m}{n}x^{n}=(1+x)^m$
在接下来我们需要一些前置知识88 行未改动 * @Date: 2024-12-14 16:23:16 * @LastEditors: 2019yyy * @LastEditTime: 2024-12-14 16:56:30 * @FilePath: \code\20241214\abc241Ex.cpp * @Description: * * I love Chtholly forever * @Description: * * I love Chtholly forever */#include<bits/stdc++.h>using namespace std;#define int long long72 行未改动 * @Date: 2024-12-14 19:25:47 * @LastEditors: 2019yyy * @LastEditTime: 2024-12-14 22:06:23 * @FilePath: \code\20241214\P3266.cpp * @Description: * * I love Chtholly forever * @Description: * * I love Chtholly forever */#include<bits/stdc++.h>using namespace std;#define int long long60 行未改动