题解 | #多组_A+B_零尾模式#
多组_A+B_零尾模式
https://www.nowcoder.com/practice/a561ad77e7bb45679db2bd7317fded84
#include<iostream> #include<cstdio> using namespace std; int main() { int a,b; while (scanf("%d %d",&a,&b)) { if(a == 0 && b == 0) break; printf("%d\n",a + b); } return 0; }