#include using namespace std; using ll = long long; void solve(){ ll a, b, c, d; cin >> a >> b >> c >> d; if(a == 0){ cout << "No\n"; return; } // 3ax^2+2bx+c=0 ll D = b * b - 3 * a * c; cout << (D > 0 ? "Yes" : "No") << '\n'; } int main(){ ios::sync_with_stdio(false); cin.tie(0); int T; cin >> T; while(T--) solve(); }