Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71978 LJY A+B 输入输出练习III C++ Accepted 1 MS 272 KB 275 2024-04-28 22:32:51

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; }