摘要: $B(x)=A^k(x)$ $\Rightarrow \ln B(x)=\ln A^k(x)$ $\Rightarrow \ln B(x)=k \ln A(x)$ $\Rightarrow B(x)=\exp(k \ln A(x))$ code: #include <cmath> #include 阅读全文
posted @ 2020-01-29 16:35 EM-LGH 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 十分轻松的生成函数题. code: #include <cmath> #include <cstring> #include <algorithm> #include <cstdio> #include <string> #define ll long long #define ull unsign 阅读全文
posted @ 2020-01-29 16:10 EM-LGH 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 挺好的一道数数题. code: #include <cmath> #include <cstring> #include <algorithm> #include <cstdio> #include <string> #define ll long long #define ull unsigned 阅读全文
posted @ 2020-01-29 13:58 EM-LGH 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 看了标签:贝尔数? 这不就是指数型生成函数模板吗..... 考虑有指数型生成函数 $F(x)$,将 $F(x)$ 分散成若干个集合的生成函数就是 $G(x)=e^{F(x)}$,来一个多项式 exp 即可. code: #include <cmath> #include <cstring> #inc 阅读全文
posted @ 2020-01-29 11:17 EM-LGH 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 好神仙的多项式啊! 需要用到:prufer序列,生成函数,多项式求逆,多项式取 ln,多项式 exp..... code: #include <cmath> #include <cstring> #include <algorithm> #include <cstdio> #include <str 阅读全文
posted @ 2020-01-29 10:08 EM-LGH 阅读(120) 评论(0) 推荐(0) 编辑