#include"iostream"
using namespace std;
int main(){
int w;
int f;
cin>>w;
if(w%2==0&&w>2) cout<<"YES"<<endl; else cout<<"NO"<<endl;
return 0;
}
简单判断奇偶,注意2这个数字,容易疏忽
day1 CodeForces 4A
最新推荐文章于 2020-10-16 19:55:30 发布
#include"iostream"
using namespace std;
int main(){
int w;
int f;
cin>>w;
if(w%2==0&&w>2) cout<<"YES"<<endl; else cout<<"NO"<<endl;
return 0;
}
简单判断奇偶,注意2这个数字,容易疏忽