题解 | 多组数据a+b III
多组数据a+b III
https://www.nowcoder.com/practice/7e094c0a3a9945b3bee8e1f3c9ea246a
#include <stdio.h>
int main() {
int a, b;
while (1) {
int a, b;
scanf("%d %d", &a, &b);
if(a+b==0)
break;
printf("%d\n", a + b);
}
return 0;
}
查看10道真题和解析
