結果

問題 No.3421 How Many Peaks?
コンテスト
ユーザー urectanc
提出日時 2026-01-11 13:38:59
言語 Rust
(1.92.0 + proconio + num)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 290 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 24,836 ms
コンパイル使用メモリ 412,676 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2026-01-11 13:39:43
合計ジャッジ時間 25,891 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

use proconio::{fastout, input};

#[fastout]
fn main() {
    input! {
        t: usize,
        testcases: [(i32, i32, i32, i32); t],
    }

    for &(a, b, c, _d) in &testcases {
        let ans = a != 0 && b * b > 3 * a * c;
        println!("{}", if ans { "Yes" } else { "No" });
    }
}
0