Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
93557 | 陈铎文 | A+B 输入输出练习III | C++ | Accepted | 1 MS | 268 KB | 276 | 2024-10-18 12:57:41 |
#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; }