摘要: 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 @ 2013-01-24 22:46 刘一卜 阅读(432) 评论(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 p 阅读全文
posted @ 2013-01-24 22:40 刘一卜 阅读(1796) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionIgnatius was born in a leap year, so he want to know when he could hold his birthday party. Can you tell him?Given a positive integers Y which indicate the start year, and a positive integer N, your task is to tell the Nth leap year from year Y.Note: if year Y is a leap year, t... 阅读全文
posted @ 2013-01-24 22:35 刘一卜 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionLarry graduated this year and finally has a job. He’s making a lot of money, but somehow never seems to have enough. Larry has decided that he needs to grab hold of his financial portfolio and solve his financing problems. The first step is to figure out what’s been going on with 阅读全文
posted @ 2013-01-24 22:20 刘一卜 阅读(472) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示