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