Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
139578 gqj 计算a+=a C++ Compile Error 0 MS 0 KB 91 2025-12-08 16:19:29

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a; cin>>a; cout<<a+=a; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:8: error: no match for 'operator+=' (operand types are 'std::basic_ostream' and 'int')
 cout<