Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135773 罗晟睿 09能否赴约 C++ Compile Error 0 MS 0 KB 248 2025-11-08 14:39:57

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int 2; 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; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:9: error: expected unqualified-id before numeric constant
     int 2;
         ^
Main.cc:5:10: error: 'a' was not declared in this scope
     cin>>a;
          ^