結果
| 問題 | No.3421 How Many Peaks? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-11 13:48:39 |
| 言語 | Rust (1.92.0 + proconio + num) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 607 bytes |
| 記録 | |
| コンパイル時間 | 25,355 ms |
| コンパイル使用メモリ | 414,284 KB |
| 実行使用メモリ | 7,852 KB |
| 最終ジャッジ日時 | 2026-01-11 13:49:06 |
| 合計ジャッジ時間 | 26,252 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 10 |
ソースコード
use proconio::input;
#[allow(unused)]
use proconio::marker::*;
#[allow(unused)]
use std::collections::*;
fn main() {
input! {
t: usize,
}
for _ in 0..t {
input! {
a: i64,
b: i64,
c: i64,
_d: i64,
};
if a == 0 {
if b != 0 {
println!("Yes");
} else {
println!("No");
}
} else {
if 4 * b * b - 12 * a * c > 0 {
println!("Yes");
} else {
println!("No");
}
}
}
}