| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76980 | 杜昊诚 | 07今天很热 | C++ | Compile Error | 0 MS | 0 KB | 154 | 2024-06-07 19:58:31 |
int main() { int n; cin>>n; if(n>=30) { cout<<"hot"; } else { cout<<"cold"; } return 0; }
Main.cc: In function 'int main()':
Main.cc:4:5: error: 'cin' was not declared in this scope
cin>>n;
^
Main.cc:7:9: error: 'cout' was not declared in this scope
cout<<"hot";
^
Main.cc:11:9: error: 'cout' was not declared in this scope
cout<<"cold";
^