| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 135257 | zlx | 07判断成绩 | C++ | Compile Error | 0 MS | 0 KB | 169 | 2025-11-03 16:40:08 |
using namespace std; int main(){ bool rain; cin>>rain; if(rain==true){ a>=60 true } cout<<"------------"; if(rain==false){ a<60 false } }
Main.cc: In function 'int main()':
Main.cc:4:2: error: 'cin' was not declared in this scope
cin>>rain;
^
Main.cc:6:2: error: 'a' was not declared in this scope
a>=60 true
^
Main.cc:8:2: error: 'cout' was not declared in this scope
cout<<"------------";
^
Main.cc:10:5: error: 'a' was not declared in this scope
a<60 false
^