摘要: 杭电多校03 HDU-6765 Count on a Tree II Striking Back(概率论,树链剖分) Problem Description You are given a tree with n nodes. The tree nodes are numbered from 1 t 阅读全文
posted @ 2020-08-05 22:07 茄子Min 阅读(346) 评论(0) 推荐(0)
摘要: $F(n,m)$代表将整数n,分为若干个最大数不超过m的正整数相加的方案数① 等于将整数n,分为m个非负整数相加的方案数②。 例如在①意义下: 例如正整数6有如下11种不同的划分: 6; 5+1; 4+2,4+1+1; 3+3,3+2+1,3+1+1+1; 2+2+2,2+2+1+1,2+1+1+1 阅读全文
posted @ 2020-08-05 21:40 茄子Min 阅读(164) 评论(0) 推荐(0)