| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 73885 | 罗子童 | 09能否赴约 | C++ | Compile Error | 0 MS | 0 KB | 300 | 2024-05-19 20:05:28 |
# include<iostream> using namespace std; int main(){ int a; cin>>a; switch(a){ case 1: case 3: case 5: cout<<"NO" break; case 2: case 4: case 6: case 7: cout<<"YES" break; } return 0; }
Main.cc: In function 'int main()':
Main.cc:11:9: error: expected ';' before 'break'
break;
^
Main.cc:17:9: error: expected ';' before 'break'
break;
^