| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 152747 | 张皓凯 | A+B 输入输出练习III | C++ | Compile Error | 0 MS | 0 KB | 252 | 2026-05-02 10:11:32 |
#include<bits/stdc++.h> using namespace std; int main() { while(cin>>a>>b) { if(a=b=0) { break; } else { cout<<a+b<<endl; } } return 0; }
Main.cc: In function 'int main()':
Main.cc:5:16: error: 'a' was not declared in this scope
while(cin>>a>>b)
^
Main.cc:5:19: error: 'b' was not declared in this scope
while(cin>>a>>b)
^