Problem1000-- V1000 A+B Problem

1000: V1000 A+B Problem

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 44  Solved: 22
[Status] [Submit] [Creator:]

Description

输入两个自然数,输出他们的和

Input

两个自然数x和y(0< =x,y< =32767)

Output

一个数,即x和y的和

Sample Input Copy

123 500

Sample Output Copy

623

HINT

[b]Free  Pascal  Code:[/b]
-------------------
program  Plus;
var  a,b:longint;
begin
    readln(a,b);
    writeln(a+b);
end.

[b]C++  Code:[/b]
-------------------
#include  < iostream>
using  namespace  std;
int  main(){
    int  a,b;
    cin> > a> > b;
    cout< < a+b< < endl;
    return  0;
}

Source/Category