A+B Problem
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
【试题描述】
输入两个数,输出他们的和;
【输入格式】
输入两个整数a和b,中间用空格隔开;
【输出格式】
输出a和b的和
【样例输入】
1 2
【样例输出】
3
【说明】
样例程序如下:
#include<bits/stdc++.h>
using namespace std;
int main(){
int a, b;
cin >> a >> b;
cout << a + b;
return 0;
}