分类: 组合数

3 篇文章

codeforces 869 #440 div2
A. The Artful Expedien time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Rock... Paper! After Karen have found the deter…
poj 1664 放苹果
放苹果 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 31107 Accepted: 19624 Description 把M个同样的苹果放在N个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分法?(用K表示)5,1,1和1,5,1 是同一种分法。 Input 第一行是…
poj 1306 Combinations
Combinations Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 9259 Accepted: 4259 Description Computing the exact number of ways that N things can be taken M at a ti…