摘要: I Think I Need a HouseboatTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 95268Accepted: 41481DescriptionFred Mapper is considering purchasin... 阅读全文
posted @ 2016-01-26 20:40 Sunny糖果 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Financial ManagementTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 169937Accepted: 63437DescriptionLarry graduated this year and finally has... 阅读全文
posted @ 2016-01-26 20:20 Sunny糖果 阅读(180) 评论(0) 推荐(0) 编辑
摘要: HangoverTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 113535Accepted: 55458DescriptionHow far can you make a stack of cards overhang a tabl... 阅读全文
posted @ 2016-01-26 20:19 Sunny糖果 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 487-3279Time Limit: 2000MSMemory Limit: 65536KTotal Submissions: 267711Accepted: 47635Description企业喜欢用容易被记住的电话号码。让电话号码容易被记住的一个办法是将它写成一个容易记住的单词或者短语。例如,... 阅读全文
posted @ 2016-01-26 20:17 Sunny糖果 阅读(357) 评论(0) 推荐(0) 编辑
摘要: Butchering Farmer John's cows always yields the best prime rib. You can tell prime ribs by looking at the digits lovingly stamped across them, one by 阅读全文
posted @ 2016-01-26 15:45 Sunny糖果 阅读(230) 评论(0) 推荐(0) 编辑
摘要: The number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backward). Write a... 阅读全文
posted @ 2016-01-26 15:11 Sunny糖果 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Consider the number triangle shown below. Write a program that calculates the highest sum of numbers that can be passed on a route that starts at the 阅读全文
posted @ 2016-01-26 14:35 Sunny糖果 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Farmer John has three milking buckets of capacity A, B, and C liters. Each of the numbers A, B, and C is an integer from 1 through 20, inclusive. Init 阅读全文
posted @ 2016-01-26 14:21 Sunny糖果 阅读(162) 评论(0) 推荐(0) 编辑
摘要: An arithmetic progression is a sequence of the form a, a+b, a+2b, ..., a+nb where n=0,1,2,3,... . For this problem, a is a non-negative integer and b ... 阅读全文
posted @ 2016-01-26 13:55 Sunny糖果 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Farmer John's hobby of conducting high-energy physics experiments on weekends has backfired, causing N wormholes (2 B . Bessie will travel to B the... 阅读全文
posted @ 2016-01-26 12:28 Sunny糖果 阅读(229) 评论(0) 推荐(0) 编辑