随笔分类 - 模拟赛
摘要:没保存,CaO 抢救了一下,详见 my sol: A 打表。 1 I 2 II V X 3 III IV VI IX 4 VII 5 VIII 剩余的加X,再加2火柴即可 注意没有40! 完整: 1 I 2 II V X 3 III IV VI IX XI 4 VII XII XV XX 5 VII
阅读全文
摘要:A: 创历史新低 dalao:d<=5,所以一个位置上只能是[i-d,i+d],考虑状压 ljx's code #include <bits/stdc++.h> using namespace std; const int maxn=505; const int mod=998244353; int
阅读全文
摘要:A: 这也能100 显然,完全图的三角形最多 易得n节点完全图中三角形数量为 Cn3 talk is cheap,show you the code #include <bits/stdc++.h> using namespace std; inline int read_z(){int x=0;c
阅读全文