Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86910 小马同学 A+B 输入输出练习III C++ Accepted 0 MS 268 KB 281 2024-07-29 14:10:08

Tests(1/1):


Code:

#include <iostream> using namespace std; const int N=1e6; int main(){ #ifdef ONLINE_JUDGE #else freopen("in.txt","r",stdin); #endif int a,b; for(int i=0;i<N;i++){ scanf("%d %d",&a,&b); if(a==0&&b==0) break; printf("%d\n",a+b); } return 0; }