2013
11-27

# A+B for Input-Output Practice (I)

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.

The input will consist of a series of pairs of integers a and b, separated by a space, one pair of integers per line.

For each pair of input integers a and b you should output the sum of a and b in one line, and with one line of output for each line in input.

1 5
10 20

6
30

2011-12-12 04:39:43

main(a,b){while(~scanf("%d%d",&a,&b))printf("%d\n",a+b);}

1. 走向共和最后给所有观众抛出了一个问题,那就是为什么君主制不行,君主立宪制不行,***共和不行,为什么别的国家都行,就偏偏咱国不行.从秦朝统一到现在2000+多年的历史长河中,我们一定有一个东西是其他国家没有的,这个东西的本质深刻扎根在每一个中国人的血液中

2. 约瑟夫也用说这么长……很成熟的一个问题了，分治的方法解起来o(n)就可以了，有兴趣可以看看具体数学的第一章，关于约瑟夫问题推导出了一系列的结论，很漂亮