信息学奥赛一本通(C++版)在线评测系统
http://ybt.ssoier.cn:8088/problem_show.php?pid=1000
【题目描述】
求两个整数的和。
【输入】
一行,两个用空格隔开的整数。
【输出】
两个整数的和。
【输入样例】
2 3
【输出样例】
5
......不会这还要我解释吧?
#include <bits/stdc++.h>
using namespace std;
int n,m;
main(){
cin>>n>>m;
cout<<n+m;
}
#include <bits/stdc++.h>
using namespace std;
int n,m;
main(){
cin>>n>>m;
cout<<n+m;
}