func_code_string: #include <bits/stdc++.h>   using namespace std;   int x[7];   int y[7];   bool inside1(float x1, float y1) {     if (x1 + .5 >= x[3] && x1 + .5 <= x[4] && y1 + .5 >= y[3] && y1 + .5 <= y[4])       return 1;     return 0;   }   bool inside2(float x1, float y1) {     if (x1 + .5 >= x[5] && x1 + .5 <= x[6] && y1 + .5 >= y[5] && y1 + .5 <= y[6])       return 1;     return 0;   }   int main() {     for (int i = 0; i < (int)(6); ++i) cin >> x[i + 1] >> y[i + 1];     for (int i = (y[1]); i < (int)(y[2]); ++i) {       for (int j = (x[1]); j < (int)(x[2]); ++j) {         if (inside1(j, i) && inside2(j, i)) {           j = max(x[4], x[6]);           if (j < x[2]) {             cout <<  YES  << endl;             return 0;           }         } else if (inside1(j, i)) {           j = x[4];           if (!inside2(j, i) && j < x[2]) {             cout <<  YES  << endl;             return 0;           }         } else if (inside2(j, i)) {           j = x[6];           if (!inside1(j, i) && j < x[2]) {             cout <<  YES  << endl;             return 0;           }         } else {           cout <<  YES  << endl;           return 0;         }       }     }     cout <<  NO  << endl;     return 0;   }   