Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
3679 杨洋杰 C语言3.5 C++ Compile Error 0 MS 0 KB 111 2024-06-22 17:47:05

Tests(0/0):


Code:

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


Run Info:

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