use proconio::input; fn main() { input! { t: usize, mut abcd: [(i64, i64, i64, i64); t], } let output = abcd .iter() .map(|&(a, b, c, d)| if solve(a, b, c, d) { "Yes" } else { "No" }) .collect::>() .join("\n"); println!("{output}"); } fn solve(a: i64, b: i64, c: i64, _d: i64) -> bool { a != 0 && b.pow(2) > 3 * a * c }