0
0
已采纳
杨陈卓
新手天翼
新手天翼
int a,b;
cin>>a>>b;
if((a%2==0&&a<=9&&a>=0)&&(b%2==0&&b<=6))
cout<<"Yes"<<endl;
if((a%2==1&&a<=9&&a>=0)&&(b%2==1&&b<=6))
cout<<"Yes"<<endl;
if(b==7)
cout<<"Yes"<<endl;
if((a%2==0)&&(b%2!=0&&b<=6))
cout<<"No"<<endl;
if((a%2==1)&&(b%2!=1&&b<=6))
cout<<"No"<<endl;
0
0