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.
为什么来到这,行将终结、匆忙纷扰、并且完全看不到救赎的世界。