Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135454 胡誉骞 07今天很热 C++ Compile Error 0 MS 0 KB 232 2025-11-03 17:23:52

Tests(0/0):


Code:

#include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a; cin>>a; if(a>=30){ cout<<"hot"; } else{ cout<<"cold"; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:4: error: 'cin' was not declared in this scope
    cin>>a; 
    ^
Main.cc:7:8: error: 'cout' was not declared in this scope
        cout<<"hot"; 
        ^
Main.cc:10:8: error: 'cout' was not declared in this scope
        cout<<"cold"; 
        ^