結果
問題 | No.218 経験値1.5倍 |
ユーザー |
|
提出日時 | 2020-12-16 15:18:26 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 267 bytes |
コンパイル時間 | 1,364 ms |
コンパイル使用メモリ | 165,888 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-20 05:07:46 |
合計ジャッジ時間 | 2,295 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { double a, b, c; cin >> a >> b >> c; double x = ceil(a / b); double y = ceil(a / c); bool flag = false; if (y / x <= 2.0 / 3.0) flag = true; cout << (flag ? "YES" : "NO") << endl; return 0; }