随笔分类 -  Catalan数

摘要:A.字符串 Catalan数不能再裸了 #include<cstdio> #include<iostream> #include<cstring> using namespace std; typedef long long ll; const ll mod=20100403; const int 阅读全文
posted @ 2019-08-18 20:55 Rorschach_XR 阅读(153) 评论(0) 推荐(0)
摘要:达哥送分给我我都不要,感觉自己挺牛批。 $type=0:$ 跟visit那题类似,枚举横向移动的步数直接推公式: $ans=\sum C_n^i \times C_i^{\frac{i}{2}} \times C_{n-i}^{\frac{n-i}{2}},i\% 2=0$ $type=1:$ 因为 阅读全文
posted @ 2019-07-30 06:31 Rorschach_XR 阅读(193) 评论(0) 推荐(0)
摘要:其实让孩子打表可以解决一切问题。(雾 阅读全文
posted @ 2019-07-23 15:21 Rorschach_XR 阅读(369) 评论(1) 推荐(0)

//雪花飘落效果