您的位置:首页 > 其它

POJ1000---A+B Problem

2013-11-11 14:07 267 查看
A+B Problem
Description

Calculate a+b
Input

Two integer a,b (0<=a,b<=10)
Output

Output a+b
Sample Input
1 2

Sample Output
3

POJ第一道水题,目的是为做后面的难题增强信心。

#include <iostream>

using namespace std;

int main()
{
int a,b;
cin>>a>>b;
cout<<a+b<<endl;
return 0;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  poj 1000