Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135293 xyc 07今天很热 C++ Compile Error 0 MS 0 KB 155 2025-11-03 16:50:01

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ int a; if(a==hot){ cout<<"hot"; } if(a==cold){ cout<<"cold"; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:11: error: 'hot' was not declared in this scope
     if(a==hot){
           ^
Main.cc:8:11: error: 'cold' was not declared in this scope
     if(a==cold){
           ^