| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 131175 | 何兴驰 | 09能否赴约 | C++ | Compile Error | 0 MS | 0 KB | 242 | 2025-09-21 12:01:38 |
#include<bits/stdc++.h> using namespace std; int main(){ int y,m; cin>>y>>m; switch (a){ case 1: case 3: case 5: cout<<"NO"; break: cout<<"YES"; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:10: error: 'a' was not declared in this scope
switch (a){
^
Main.cc:11:18: error: expected ';' before ':' token
break:
^
Main.cc:11:18: error: expected primary-expression before ':' token
Main.cc:15:1: error: expected '}' at end of input
}
^