fork(1) download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. int a, b, c, d;
  7. cin >> a >> b >> c >> d;
  8. bool e = !(a < c && b < c && a < d && b < d);
  9. cout << e;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5588KB
stdin
1 5
4 6
stdout
1