fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. bool poss(int a , int b){
  5. return !((a==b)||(a==1 && b==3)||(a==3 && b==1));
  6. }
  7.  
  8. int main() {
  9. int a,b;
  10. cin>>a>>b;
  11. cout<<(poss(a,b)?"true":"false");
  12. return 0;
  13. }
Success #stdin #stdout 0s 5320KB
stdin
1 1
stdout
false