結果

問題 No.218 経験値1.5倍
ユーザー machy
提出日時 2015-06-10 22:10:01
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 296 bytes
コンパイル時間 889 ms
コンパイル使用メモリ 53,596 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-29 15:07:53
合計ジャッジ時間 1,576 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

typedef long long LL;

int main(){
    LL a, b, c;
    cin >> a >> b >> c;
    int bn = (a + b - 1) / b;
    int cn = (a + c - 1) / c;
    if(bn * 2 >= cn * 3){
        cout << "YES" << endl;
    }else{
        cout << "NO" << endl;
    }
    return 0;
}
0