杭电oj
万时
这个作者很懒,什么都没留下…
展开
-
杭电oj第1000题—— A + B Problem
题述如下:Problem DescriptionCalculate A + B.InputEach line will contain two integers A and B. Process to end of file.OutputFor each case, output A + B in one line. \\注意,此处强调一行一输出,即输出后跟“\n”S...原创 2019-02-15 11:23:16 · 1530 阅读 · 0 评论 -
杭电oj第1001题—— Sum Problem
题述如下Problem DescriptionIn this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n. InputThe input will consist of a series of integers n, one integer per line.OutputFor each cas...原创 2019-02-15 11:43:43 · 893 阅读 · 0 评论