Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5425 | 吴承熹 | 09能否赴约 | C++ | Compile Error | 0 MS | 0 KB | 297 | 2024-11-16 10:20:58 |
#include<iostream> using namespace std; int main(){ int a; cin>>a; switch(a){ case 1: case 3: case 5:cout<<"NO"<<endl;break; case 2: case 4: case 6: case 7:cout<<"YES"<<endl;break; default:; return 0; }
Main.cc: In function 'int main()': Main.cc:16:1: error: expected '}' at end of input } ^