rengetsu

Timus_1877

Jul 19th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. //Timus 1877
  2. #include <iostream>
  3. using namespace std;
  4. int main()
  5. {
  6.     int a, b, answ=0;
  7.     cin >> a >> b;
  8.     if(a==0 || a%2==0) answ=1;
  9.     if(b%2!=0) answ=1;
  10.     if(answ==0){cout<<"no";}
  11.     else{cout<<"yes";}
  12.     return 0;
  13. }
Add Comment
Please, Sign In to add comment