Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
106165 | 李朋秦 | 09能否赴约 | C++ | Compile Error | 0 MS | 0 KB | 405 | 2025-01-15 15:21:28 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a; cin>>a; switch(!=(a==1)||(a==3)||(a==5)){ case 1:cout<<"YES"<<endl;break; default:cout<<"NO";break; } return 0; }
Main.cc: In function 'int main()': Main.cc:9:12: error: expected primary-expression before '!=' token switch(!=(a==1)||(a==3)||(a==5)){ ^