2012年3月26日

摘要: hide handkerchiefTime Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1725 Accepted Submission(s): 613Problem DescriptionThe Children’s Day has passed for some days .Has you remembered something happened at your childhood? I remembered I often played 阅读全文
posted @ 2012-03-26 12:50 Artemisia 阅读(261) 评论(2) 推荐(0) 编辑
 
摘要: Problem DescriptionMost bicycle speedometers work by using a Hall Effect sensor fastened to the front fork of the bicycle. A magnet is attached to one of the spokes on the front wheel so that it will line up with the Hall Effect switch once per revolution of the wheel. The speedometer monitors the s 阅读全文
posted @ 2012-03-26 00:48 Artemisia 阅读(268) 评论(1) 推荐(0) 编辑
 

2012年3月25日

摘要: Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Each line starts with a integer M, and then M integers follow in the same line.OutputFor each group of input integers you should output their sum in one 阅读全文
posted @ 2012-03-25 22:15 Artemisia 阅读(151) 评论(0) 推荐(0) 编辑
 
摘要: Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains multiple test cases, and one case one line. Each case starts with an integer N, and then N integers follow in the same line.OutputFor each test case you should output the sum of N integers in one line, and with 阅读全文
posted @ 2012-03-25 21:45 Artemisia 阅读(257) 评论(0) 推荐(0) 编辑
 
摘要: Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Each line starts with a integer M, and then M integers follow in the same line.OutputFor each group of input integers you should output their sum in one 阅读全文
posted @ 2012-03-25 21:44 Artemisia 阅读(114) 评论(0) 推荐(0) 编辑
 
摘要: Problem DescriptionYour task is to Calculate a + b.InputThe input will consist of a series of pairs of integers a and b, separated by a space, one pair of integers per line.OutputFor each pair of input integers a and b you should output the sum of a and b, and followed by a blank line.Sample Input1 阅读全文
posted @ 2012-03-25 21:38 Artemisia 阅读(151) 评论(0) 推荐(0) 编辑
 
摘要: Problem DescriptionYour task is to Calculate the sum of some integers.InputInput contains multiple test cases. Each test case contains a integer N, and then N integers follow in the same line. A test case starting with 0 terminates the input and this test case is not to be processed.OutputFor each g 阅读全文
posted @ 2012-03-25 20:58 Artemisia 阅读(182) 评论(0) 推荐(0) 编辑
 
摘要: Problem DescriptionYour task is to Calculate a + b.InputInput contains multiple test cases. Each test case contains a pair of integers a and b, one pair of integers per line. A test case containing 0 0 terminates the input and this test case is not to be processed.OutputFor each pair of input intege 阅读全文
posted @ 2012-03-25 20:24 Artemisia 阅读(129) 评论(0) 推荐(0) 编辑
 
摘要: Problem DescriptionYour task is to Calculate a + b.InputInput contains an integer N in the first line, and then N lines follow. Each line consists of a pair of integers a and b, separated by a space, one pair of integers per line.OutputFor each pair of input integers a and b you should output the su 阅读全文
posted @ 2012-03-25 20:14 Artemisia 阅读(125) 评论(0) 推荐(0) 编辑
 
摘要: Problem DescriptionYour task is to Calculate a + b.Too easy?! Of course! I specially designed the problem for acm beginners. You must have found that some problems have the same titles with this one, yes, all these problems were designed for the same aim.InputThe input will consist of a series of pa 阅读全文
posted @ 2012-03-25 19:50 Artemisia 阅读(263) 评论(0) 推荐(0) 编辑