func_code_string: #include <bits/stdc++.h>   using namespace std;   void fast() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);   }   map<int, int> mpi;   map<string, int> mps;   map<int, vector<int> > path;   map<int, int> visited;   set<int> st;   vector<int> v;   map<int, int>::iterator iti;   map<string, int>::iterator its;   set<int>::iterator sit;   vector<int>::iterator itv;   void fresh() {     mpi.clear();     mps.clear();     st.clear();     v.clear();     path.clear();     visited.clear();   }   int main() {     fast();     int n, a, b, c, d, x1, x2, y1, y2;     int tst;     cin >> tst;     while (tst--) {       cin >> n >> a >> b >> c >> d;       bool flag = false;       for (int i = c - d; i <= c + d; i++) {         if ((i / n) >= (a - b) && (i / n) <= (a + b)) {           int x = ceil((float)i / (float)n);           if (x >= (a - b) && x <= (a + b)) {             flag = true;             break;           }         }       }       if (flag) {         cout <<  YES  << endl;         ;       } else         cout <<  NO  << endl;       ;     }     return 0;   }   