题解 | 多组数据a+b III
多组数据a+b III
https://www.nowcoder.com/practice/7e094c0a3a9945b3bee8e1f3c9ea246a
#include <iostream>
using namespace std;
int main() {
int a, b;
while (cin >> a >> b && a!=0 && b!=0) { // 注意 while 处理多个 case
cout << a + b << endl;
}
}
// 64 位输出请用 printf("%lld")