题解 | 多组输入a+b II
多组输入a+b II
https://www.nowcoder.com/practice/37cad29015e3457ba256e3319436d0e6
#include <bits/stdc++.h>
using namespace std;
int main() {
int T,n; int a , b;
cin >>T;
n=1;
for(;n<=T;n++){
cin>>a>>b;
cout<<a+b<<endl;
}
return 0; }
// 64 位输出请用 printf("%lld")
美的集团公司福利 814人发布