結果

問題 No.3421 How Many Peaks?
コンテスト
ユーザー 沙耶花
提出日時 2026-01-11 15:13:46
言語 C++17
(gcc 15.2.0 + boost 1.89.0)
結果
AC  
実行時間 22 ms / 2,000 ms
コード長 449 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 4,903 ms
コンパイル使用メモリ 275,044 KB
実行使用メモリ 7,852 KB
最終ジャッジ日時 2026-01-11 15:14:19
合計ジャッジ時間 5,401 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <stdio.h>
#include <atcoder/all>
#include <bits/stdc++.h>
using namespace std;
using namespace atcoder;
using mint = modint998244353;
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define Inf32 1000000001
#define Inf64 4000000000000000001LL


int main(){
	
	int _t;
	cin>>_t;
	rep(_,_t){
		
		long long a,b,c,d;
		cin>>a>>b>>c>>d;
		a *= 3;
		b *= 2;
		if(b*b - a*c*4 > 0 && a!=0)cout<<"Yes"<<endl;
		else cout<<"No"<<endl;
	}
	return 0;
}
0