func_code_string: #include <bits/stdc++.h>   using namespace std;   int t;   long long int a, b, n, S;   int main() {     cin >> t;     while (t--) {       cin >> a >> b >> n >> S;       if (b >= S) {         cout <<  YES  << endl;         continue;       }       if (a * n + b < S) {         cout <<  NO  << endl;         continue;       }       long long int x = S / n;       x = min(x, a);       long long int res = (S - x * n);       if (res <= b) {         cout <<  YES  << endl;         continue;       }       if (res > b) {         cout <<  NO  << endl;         continue;       }     }     return 0;   }   