Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107836 | 陈海林 | 计算a+=a | C++ | Compile Error | 0 MS | 0 KB | 121 | 2025-01-18 14:39:06 |
#include<iostream> using namespace std; int main() { int a; cin>>a; cout<<a+=a<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:7:17: error: invalid operands of types 'int' and '' to binary 'operator<<' cout<