Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155721 彭俊熙 07今天很热 C++ Compile Error 0 MS 0 KB 147 2026-06-13 10:39:55

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int w; cin>>w; if(w>30){ cout<<"hot"; } else{ cout<<"cold";5 } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:11:1: error: expected ';' before '}' token
 }
 ^
Main.cc:11:1: warning: statement has no effect [-Wunused-value]