| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 142867 | 李昊阳 | A+B 输入输出练习III | C++ | Compile Error | 0 MS | 0 KB | 205 | 2026-01-11 16:42:28 |
#include <iostream> using namespace std; int main() { int a, b; while (cin >> a >> b) { cout << a + b << endl; if(a+b=0){ return 1; } } return 0; }
Main.cc: In function 'int main()':
Main.cc:7:15: error: lvalue required as left operand of assignment
if(a+b=0){
^