結果
| 問題 | No.3421 How Many Peaks? |
| コンテスト | |
| ユーザー |
MM
|
| 提出日時 | 2026-01-11 13:39:16 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 23 ms / 2,000 ms |
| コード長 | 798 bytes |
| 記録 | |
| コンパイル時間 | 4,424 ms |
| コンパイル使用メモリ | 275,292 KB |
| 実行使用メモリ | 7,852 KB |
| 最終ジャッジ日時 | 2026-01-11 13:39:48 |
| 合計ジャッジ時間 | 5,116 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include<bits/stdc++.h>
#include<atcoder/all>
#define chmin(x,y) (x) = min((x),(y))
#define chmax(x,y) (x) = max((x),(y))
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define vec vector
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define pb push_back
#define eb emplace_back
using namespace std;
using namespace atcoder;
using ll = long long;
using ld = long double;
const ll mod = 998244353;
using mint = modint998244353;
const vector<int> dx = {1,0,-1,0}, dy = {0,1,0,-1};
// using Graph = vector<vector<pair<int,ll>>>;
using Graph = vector<vector<int>>;
int main(){
// input
int T;
cin >> T;
while(T--){
int a,b,c,d;
cin >> a >> b >> c >> d;
cout << (a != 0 && b*b - 3*a*c > 0 ? "Yes" : "No") << endl;
}
// solve
// output
}
MM