摘要:
一天一次的规律题或组合数学题 然而这种复杂规律都有不少人能“打表可得”?? 答案 \(\binom{n+m}{m}-\binom{n+m}{m-1}\) \(Code\) #include<cstdio> #include<iostream> using namespace std; typedef 阅读全文
posted @ 2020-08-14 16:41
leiyuanze
阅读(104)
评论(0)
推荐(0)
摘要:
板子,正好温习一下主席树的写法 记得数组开 $32$ 倍!! \(Code\) #include<cstdio> using namespace std; const int N = 1e6 + 5; int rt[N] , a[N] , n , m , size; struct Segment{ 阅读全文
posted @ 2020-08-14 07:56
leiyuanze
阅读(99)
评论(0)
推荐(0)

浙公网安备 33010602011771号