摘要: DescriptionIfaanddare relatively prime positive integers, the arithmetic sequence beginning withaand increasing byd, i.e.,a,a+d,a+ 2d,a+ 3d,a+ 4d, ...... 阅读全文
posted @ 2015-02-17 22:29 乱齐八糟 阅读(145) 评论(0) 推荐(0) 编辑
摘要: DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a pointN(0 ≤N≤ 100,000) on... 阅读全文
posted @ 2015-02-09 16:29 乱齐八糟 阅读(134) 评论(0) 推荐(0) 编辑
摘要: DescriptionA friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that... 阅读全文
posted @ 2015-02-09 15:39 乱齐八糟 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are t... 阅读全文
posted @ 2015-02-07 15:42 乱齐八糟 阅读(134) 评论(1) 推荐(1) 编辑
摘要: C. Palindrome Transformationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNam is playing with a... 阅读全文
posted @ 2015-02-02 12:09 乱齐八糟 阅读(308) 评论(0) 推荐(0) 编辑
摘要: A Walk Through the ForestTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6045Accepted Submission(s... 阅读全文
posted @ 2015-01-29 15:45 乱齐八糟 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 连连看Time Limit: 20000/10000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21317Accepted Submission(s): 5296Problem Desc... 阅读全文
posted @ 2015-01-27 21:08 乱齐八糟 阅读(1206) 评论(0) 推荐(0) 编辑
摘要: Let the Balloon RiseTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 80469Accepted Submission(s): 3... 阅读全文
posted @ 2015-01-25 22:20 乱齐八糟 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 继续畅通工程Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14910Accepted Submission(s): 6458Problem Des... 阅读全文
posted @ 2015-01-24 22:46 乱齐八糟 阅读(114) 评论(0) 推荐(0) 编辑
摘要: B. Amr and Pinstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAmr loves Geometry. One day he cam... 阅读全文
posted @ 2015-01-24 18:23 乱齐八糟 阅读(203) 评论(0) 推荐(0) 编辑