結果

問題 No.3421 How Many Peaks?
コンテスト
ユーザー るるまるふぁんくらぶ
提出日時 2026-01-11 13:33:33
言語 PyPy3
(7.3.17)
結果
AC  
実行時間 102 ms / 2,000 ms
コード長 216 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 155 ms
コンパイル使用メモリ 82,716 KB
実行使用メモリ 76,816 KB
最終ジャッジ日時 2026-01-11 13:34:26
合計ジャッジ時間 1,627 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

t = int(input())
for _ in range(t):
    a, b, c, d = map(int, input().split())
    if a == 0:
        print("No")
        continue
    na = 3*a
    nb = 2*b
    nc = c
    print("Yes" if nb*nb-4*na*nc > 0 else "No")
0