摘要: 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 @ 2013-01-29 16:37 刘一卜 阅读(2416) 评论(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 @ 2013-01-29 16:25 刘一卜 阅读(3398) 评论(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 @ 2013-01-29 16:13 刘一卜 阅读(2479) 评论(0) 推荐(0)