上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页

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)

2016年9月10日

摘要: Description In 2100, ACM chocolate will be one of the favorite foods in the world. "Green, orange, brown, red...", colorful sugar-coated shell maybe i 阅读全文
posted @ 2016-09-10 22:45 阿宝的锅锅 阅读(186) 评论(0) 推荐(0)

2016年9月9日

摘要: Description A Bank plans to install a machine for cash withdrawal. The machine is able to deliver appropriate @ bills for a requested cash amount. The 阅读全文
posted @ 2016-09-09 11:57 阿宝的锅锅 阅读(189) 评论(0) 推荐(0)
 
摘要: Description Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of p 阅读全文
posted @ 2016-09-09 10:14 阿宝的锅锅 阅读(180) 评论(0) 推荐(0)

2016年9月8日

摘要: Description 有一个三角形木板,竖直立放,上面钉着n(n+1)/2颗钉子,还有(n+1)个格子(当n=5时如图1)。每颗钉子和周围的钉子的距离都等于d,每个格子的宽度也都等于d,且除了最左端和最右端的格子外每个格子都正对着最下面一排钉子的间隙。 让一个直径略小于d的小球中心正对着最上面的钉 阅读全文
posted @ 2016-09-08 14:22 阿宝的锅锅 阅读(208) 评论(0) 推荐(0)

2016年9月7日

摘要: Description Your task in this problem is to determine the number of divisors of Cnk. Just for fun -- or do you need any special reason for such a usef 阅读全文
posted @ 2016-09-07 23:03 阿宝的锅锅 阅读(321) 评论(0) 推荐(0)

2016年9月6日

摘要: “答案正确”是自动判题系统给出的最令人欢喜的回复。本题属于PAT的“答案正确”大派送 —— 只要读入的字符串满足下列条件,系统就输出“答案正确”,否则输出“答案错误”。 得到“答案正确”的条件是: 1. 字符串中必须仅有P, A, T这三种字符,不可以包含其它字符;2. 任意形如 xPATx 的字符 阅读全文
posted @ 2016-09-06 21:33 阿宝的锅锅 阅读(195) 评论(0) 推荐(0)

2016年9月5日

摘要: Description There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical structure 阅读全文
posted @ 2016-09-05 16:20 阿宝的锅锅 阅读(128) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页