help 50px
查看原帖
help 50px
1011277
laozhang_123楼主2024/1/15 11:56
#include<bits/stdc++.h>
using namespace std;
int main(){
    int a,b;
    cin>>a>>b;
    if(a>=0||(a<0&&b%2==0))
        cout<<"NO"<<endl;
    else
        cout<<"YES"<<endl;
    if(a%2==1)
        cout<<"YES";
    else
        cout<<"NO";
    return 0;
}
2024/1/15 11:56
加载中...