错了两个点,求改
#include <bits/stdc++.h>
using namespace std;
int main(){
long long a,b;
cin>>a>>b;
if(b==0){
cout<<"NO"<<endl<<"YES";
return 0;
}
if(a<0 && b%2!=0){
cout<<"YES"<<endl;
}else{
cout<<"NO"<<endl;
}
if(a%2==1){
cout<<"YES";
}else{
cout<<"NO";
}
return 0;
}