![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
生成函数
等我学会后缀自动机
侠影之谜
展开
-
HDU 4651 Partition (水+五边形定理)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4651 #include<bits/stdc++.h> using namespace std; #define debug puts("YES"); #define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++) #define ll lon...原创 2019-02-09 23:48:38 · 220 阅读 · 0 评论 -
POJ 3734 Blocks (指数母函数)
题目链接:http://poj.org/problem?id=3734 #include<cstdio> using namespace std; #define debug puts("YES"); #define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++) #define ll long long #define lrt int...原创 2019-02-09 23:59:35 · 167 阅读 · 0 评论