Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
98159 | 唐诗阳 | 07判断成绩 | C++ | Compile Error | 0 MS | 0 KB | 318 | 2024-11-17 14:50:30 |
#include<iostream> #include<cstdio> //scanf()\printf() #include<cstring> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a; cin>>a; if(a>=60){ cout<<"YES" else{ cout<<"NO" } } return 0; }
Main.cc: In function 'int main()': Main.cc:12:9: error: expected ';' before 'else' else{ ^