Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
98693 | 刘宇帆 | 09能否赴约 | C++ | Compile Error | 0 MS | 0 KB | 160 | 2024-11-23 13:08:23 |
#include<bits/stdc++.h> using namespace std; int main(){ int a;cin>>a; if(a==1||a==3||a==5){ cout<<"NO"; } }else{ cout<<"YES" } return 0; }
Main.cc:8:3: error: expected unqualified-id before 'else' }else{ ^ Main.cc:11:2: error: expected unqualified-id before 'return' return 0; ^ Main.cc:12:1: error: expected declaration before '}' token } ^