結果
| 問題 | No.3421 How Many Peaks? |
| コンテスト | |
| ユーザー |
tnakao0123
|
| 提出日時 | 2026-01-11 17:28:25 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| + 248µs | |
| コード長 | 394 bytes |
| 記録 | |
| コンパイル時間 | 153 ms |
| コンパイル使用メモリ | 50,992 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-20 08:21:33 |
| 合計ジャッジ時間 | 1,303 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
/* -*- coding: utf-8 -*-
*
* 3421.cc: No.3421 How Many Peaks? - yukicoder
*/
#include<cstdio>
#include<algorithm>
using namespace std;
/* main */
int main() {
int tn;
scanf("%d", &tn);
while (tn--) {
int a, b, c, d;
scanf("%d%d%d%d", &a, &b, &c, &d);
a *= 3, b *= 2;
if (a != 0 && b * b - 4 * a * c > 0) puts("Yes");
else puts("No");
}
return 0;
}
tnakao0123