結果

問題 No.218 経験値1.5倍
ユーザー oooooba
提出日時 2021-01-26 22:11:52
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 33 ms / 2,000 ms
コード長 422 bytes
コンパイル時間 938 ms
コンパイル使用メモリ 104,524 KB
最終ジャッジ日時 2025-01-18 08:24:01
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <array>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <numeric>
#include <optional>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <vector>

using namespace std;

int main() {
    int32_t a, b, c;
    cin >> a >> b >> c;
    auto nb = (a + b - 1) / b, nc = (a + c - 1) / c;
    cout << (3 * nc <= 2 * nb ? "YES" : "NO") << endl;
    return 0;
}
0