
模板
weixin_43331783
/p/px5xQRGVPD/
展开
-
组合数模板
普通母函数 #include<bits/stdc++.h> using namespace std; const int maxn=?; int c1[maxn+5],c2[maxn+5]; const int type=?; int number[type],value[type]; int main() { int n; cin >> n; while (n–) { m...原创 2019-05-17 11:40:18 · 351 阅读 · 0 评论 -
离散化入门模板(线段树离散)HDU - 3333、CodeForces - 540E
C - Infinite Inversions CodeForces - 540Ehttps://codeforces.com/problemset/problem/540/E 代码来源:https://blog.youkuaiyun.com/whai362/article/details/48827207 树状数组入门:https://blog.youkuaiyun.com/Small_Orange_glory/art...原创 2019-07-31 12:13:24 · 239 阅读 · 0 评论