题目描述
这是一道OJ测试题。
给定两个整数A,BA,B,输出它们的和。
输入格式
一行,两个整数,表示A,BA,B。
输出格式
一行,一个整数,表示答案。
样例数据
input
20 30
output
50
数据规模与约定
保证a,b≤109a,b≤109。
时间限制:1s1s
空间限制:256MB
#include<iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a + b << endl;
return 0;
}