Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135273 刘浩宇 07今天很热 C++ Compile Error 0 MS 0 KB 137 2025-11-03 16:45:57

Tests(0/0):


Code:

using namespace std; int main(){ long long a; cin>>a; if(a>30){ cout<<"hot"; } if(a<=30){ cout<<"cold"; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:2: error: 'cin' was not declared in this scope
  cin>>a; 
  ^
Main.cc:6:3: error: 'cout' was not declared in this scope
   cout<<"hot";
   ^
Main.cc:9:3: error: 'cout' was not declared in this scope
   cout<<"cold";
   ^