A+B Problem
Time Limit: 1000MS | Memory Limit: 10000K | |
Total Submissions: 329441 | Accepted: 182534 |
Description
Calculate a+b
Input
Two integer a,b (0<=a,b<=10)
Output
Output a+b
Sample Input
1 2
Sample Output
3
#include<iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a+b<<endl;
return 0;
}
总结:求2个数的和,入门基础知识。