2016年9月11日

摘要: Description 把M个同样的苹果放在N个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分法?(用K表示)5,1,1和1,5,1 是同一种分法。 Input 第一行是测试数据的数目t(0 <= t <= 20)。以下每行均包含二个整数M和N,以空格分开。1<=M,N<=10。 Outp 阅读全文
posted @ 2016-09-11 20:31 阿宝的锅锅 阅读(121) 评论(0) 推荐(0)
 
摘要: Description Michael The Kid receives an interesting game set from his grandparent as his birthday gift. Inside the game set box, there are n tiling bl 阅读全文
posted @ 2016-09-11 14:31 阿宝的锅锅 阅读(160) 评论(0) 推荐(0)
 
摘要: Description A supermarket has a set Prod of products on sale. It earns a profit px for each product x∈Prod sold by a deadline dx that is measured as a 阅读全文
posted @ 2016-09-11 10:39 阿宝的锅锅 阅读(146) 评论(0) 推荐(0)