#include "stdio.h" #include "stdlib.h" int main(void) { int i, j; while(scanf("%d %d", &i, &j) == 2) { if((0 == i) && (0 == j)) { break; } printf("%d\n", i+j); } system("pause"); return 0; }
时间: 2024-11-29 06:17:37
#include "stdio.h" #include "stdlib.h" int main(void) { int i, j; while(scanf("%d %d", &i, &j) == 2) { if((0 == i) && (0 == j)) { break; } printf("%d\n", i+j); } system("pause"); return 0; }