Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70391 揭伟琦 07今天很热 C++ Compile Error 0 MS 0 KB 125 2024-04-14 14:28:10

Tests(0/0):


Code:

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


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:8:3: error: 'cout' was not declared in this scope
   cout<<"cold";
   ^