| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 143326 | 周润泽 | 计算a+=a | C++ | Compile Error | 0 MS | 0 KB | 143 | 2026-01-11 20:13:10 |
#include <bits/stdc++.h> using namespace std; int main(){ long long a; cin>>a; int b+=a; cout<<b<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:10: error: expected initializer before '+=' token
int b+=a;
^
Main.cc:7:11: error: 'b' was not declared in this scope
cout<