李奕翀吧 关注:15贴子:1,538
  • 3回复贴,共1

~兔子楼~戳爆葱吧

只看楼主收藏回复

rt


来自iPhone客户端1楼2014-06-10 19:07回复
    bomb plsm nscn pscn inst dust sand stne hygn dest dmnd life


    2楼2014-06-20 15:39
    收起回复
      Addtion of numbers Time Limit: 2 seconds Eric is currently studying in Primary two. He was asked to do n ( 1【图片】n【图片】20 ) addition problems, which is to sum up two integers, a and b ( 1【图片】a, b < 231 ). He has to hand this in tomorrow. However, he is a very lazy student. He wants to play lego instead of doing this homework. You are Eric's elder brother and he ask you to help him. As both of you are lazy guys, you decide to write a program to complete this task rather than calculating those by hand. Input The input contains n + 1 lines of input. The first line of the input is the number n. The second line to the n + 1th line contains two numbers a and b at each line. Output The output file contains n lines, which are the sum of a and b. The i-th line of output is the sum of the two integers in the i+1-th line of input. Sample Input5 1 1 2 9 3 6 4 19 5 200 Sample Output2 11 9 23 205
      解答:var x,y,n:qword; i:longint; begin readln(n); for i:=1 to n do begin readln(x,y); writeln(x+y); end; en


      IP属地:中国香港来自Android客户端5楼2014-10-10 23:00
      回复