题解 | #多组输入a+b#
多组输入a+b
https://ac.nowcoder.com/acm/problem/22165
#include<bits/stdc++.h>//万能头文件 using namespace std;
int main() { int a,b; while(cin >> a >> b){ cout << a+b << endl; }
}
多组输入a+b
https://ac.nowcoder.com/acm/problem/22165
#include<bits/stdc++.h>//万能头文件 using namespace std;
int main() { int a,b; while(cin >> a >> b){ cout << a+b << endl; }
}
相关推荐