poj1000:
A+B Problem
Time Limit: 1000MS Memory Limit: 10000K
Total Submissions: 153542 Accepted: 82763
Description
Calculate a+b
Input
Two integer a,b (0<=a,b<=10)
Output
Output a+b
Sample Input
1 2
Sample Output
3
Source
POJ
题解:
貌似每一个评测系统都有的一道题......
不说多了......
#include <iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<(a+b);
return 0;
}