URAL 1000 A+B Problem

1000. A+B Problem

Time Limit: 1.0 second(时间限制:1秒)
Memory Limit: 16 MB(空间限制:16MB)

Calculate a + b

计算 a+b

Input(输入格式)

A 和B

Output(输出格式)

A+B

Sample

Input(输入)

Output(输出)

1 5
6

Hint(提示)

Use + operator

使用+号

 

解题报告

 

一道100%的水题。废话不说,程序:

// TASK: 1000 A+B Problem

var

  a,b:longint;

begin

  while not(eof(input)) do

  begin

    readln(a,b);

    writeln(a+b);

  end;

end.

posted @ 2009-08-30 12:52  为美好世界献上珂学  阅读(100)  评论(0)    收藏  举报