上一页 1 ··· 3 4 5 6 7 8 下一页
  2010年7月28日
摘要: Revamping TrailsTime Limit: 4000MS Memory Limit: 65536KTotal Submits: 107 Accepted: 22DescriptionFarmer John dutifully checks on the cows every day. He traverses some of the M (1 <= M <= 50,000)... 阅读全文
posted @ 2010-07-28 14:08 风也轻云也淡 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Stock MarketTime Limit: 4000MS Memory Limit: 65536KTotal Submits: 134 Accepted: 29DescriptionDespite their innate prudence, the cows took a beating in the home mortgage market and now are trying their... 阅读全文
posted @ 2010-07-28 14:01 风也轻云也淡 阅读(214) 评论(0) 推荐(0) 编辑
摘要: The Baric BovineTime Limit: 1000MS Memory Limit: 65536KTotal Submits: 76 Accepted: 17DescriptionFollowing up on a journal article about increasing milk production, Bessie has become the Baric Bovine b... 阅读全文
posted @ 2010-07-28 13:51 风也轻云也淡 阅读(269) 评论(0) 推荐(0) 编辑
摘要: Making the GradeTime Limit: 1000MS Memory Limit: 65536KTotal Submits: 299 Accepted: 47DescriptionA straight dirt road connects two fields on FJ's farm, but it changes elevation more than FJ would like... 阅读全文
posted @ 2010-07-28 13:46 风也轻云也淡 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Watering HoleTime Limit: 1000MS Memory Limit: 65536KTotal Submits: 120 Accepted: 30DescriptionFarmer John has decided to bring water to his N (1 <= N <= 300) pastures which are conveniently numb... 阅读全文
posted @ 2010-07-28 13:37 风也轻云也淡 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Crisis on the FarmTime Limit: 1000MS Memory Limit: 65536KTotal Submits: 111 Accepted: 18DescriptionFarmer John and his herd of exotic dancing bovines have been practicing for his new moosical, "The St... 阅读全文
posted @ 2010-07-28 13:33 风也轻云也淡 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Mixed Up CowsTime Limit: 1000MS Memory Limit: 65536KTotal Submits: 95 Accepted: 28DescriptionEach of Farmer John's N (4 ≤ N ≤ 16) cows has a unique serial number S_i (1 ≤ S_i ≤ 25,000). Th... 阅读全文
posted @ 2010-07-28 13:18 风也轻云也淡 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 放苹果Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 14790Accepted: 9317Description把M个同样的苹果放在N个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分法?(用K表示)5,1,1和1,5,1 是同一种分法。Input第一行是测试数据的数目t(0 <= t <= 20)。以下每行均... 阅读全文
posted @ 2010-07-28 13:00 风也轻云也淡 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Ugly NumbersTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 11933Accepted: 5244DescriptionUgly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence 1, 2, 3, 4, 5, 6, 8, 9,... 阅读全文
posted @ 2010-07-28 12:54 风也轻云也淡 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 食物链Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 17712Accepted: 4953Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。 有人用两种说法对这N个动物所构... 阅读全文
posted @ 2010-07-28 12:46 风也轻云也淡 阅读(399) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页