Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86901 张曦 简单的分支结构 C++ Compile Error 0 MS 0 KB 125 2024-07-29 09:13:21

Tests(0/0):


Code:

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


Run Info:

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