摘要: BinaryValue Sample Meaning x 00101100 原始x的值 the original x value~x 1... 阅读全文
posted @ 2015-11-27 22:10 徐王 阅读(207) 评论(0) 推荐(0)
摘要: Number TrianglesConsider the number triangle shown below. Write a program that calculates the highest sum of numbers that can be passed on a route tha... 阅读全文
posted @ 2015-11-27 16:56 徐王 阅读(227) 评论(0) 推荐(0)
摘要: Mother's MilkFarmer 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, in... 阅读全文
posted @ 2015-11-27 16:26 徐王 阅读(309) 评论(0) 推荐(0)
摘要: Arithmetic ProgressionsAn 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-... 阅读全文
posted @ 2015-11-27 15:40 徐王 阅读(326) 评论(0) 推荐(0)
摘要: Ski Course DesignFarmer John has N hills on his farm (1 7 #include 8 using namespace std; 9 int a[1002]; 10 int main() 11 { 12 freopen("skides... 阅读全文
posted @ 2015-11-27 12:43 徐王 阅读(369) 评论(0) 推荐(0)
摘要: WormholesFarmer John's hobby of conducting high-energy physics experiments on weekends has backfired, causing N wormholes (2 B . Bessie will tra... 阅读全文
posted @ 2015-11-27 10:02 徐王 阅读(259) 评论(0) 推荐(0)
摘要: 1009: Happiness Hotel时间限制:1 Sec内存限制:128 MB提交:173解决:19[提交][状态][讨论版]题目描述The life of Little A is good, and, he managed to get enough money to run a hotel... 阅读全文
posted @ 2015-11-25 23:41 徐王 阅读(206) 评论(0) 推荐(0)
摘要: 最小生成树Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescription老 Jack 有一片农田,以往几年都是靠天吃饭的。但是今年老天格外的不开眼,大旱。所以老 Jack 决定用管道将... 阅读全文
posted @ 2015-11-25 23:38 徐王 阅读(220) 评论(0) 推荐(0)
摘要: 1040: Count时间限制:1 Sec内存限制:128 MB提交:59解决:23[提交][状态][讨论版]题目描述Many ACM team name may be very funny,such as "Complier_Error","VVVVV".Oh,wait for a minute ... 阅读全文
posted @ 2015-11-24 19:01 徐王 阅读(174) 评论(0) 推荐(0)
摘要: 1006: Intermediary 时间限制: 1 Sec 内存限制: 128 MB提交: 261 解决: 25[提交][状态][讨论版] 题目描述 It is widely known that any two strangers can get to know each other throu 阅读全文
posted @ 2015-11-24 13:41 徐王 阅读(302) 评论(0) 推荐(0)