| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 131185 | 傅小轩 | 09能否赴约 | C++ | Compile Error | 0 MS | 0 KB | 195 | 2025-09-21 12:29:30 |
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; switch(a){ case 1: case 3: case 5: cout<<"NO"; break: default: cout<<"YES"; } return 0; }
Main.cc: In function 'int main()':
Main.cc:11:8: error: expected ';' before ':' token
break:
^
Main.cc:11:8: error: expected primary-expression before ':' token