結果

問題 No.218 経験値1.5倍
ユーザー augusuto04augusuto04
提出日時 2015-06-12 17:27:10
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 310 bytes
コンパイル時間 605 ms
コンパイル使用メモリ 61,616 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-29 15:08:25
合計ジャッジ時間 1,578 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <cmath>
using namespace std;

int main(){
  int a, b, c;
  cin >> a >> b >> c;
  int regular = (int)ceil((double)a / b);
  int campaign = (int)ceil((double)a / c);
  if(campaign * 3 <= regular * 2)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
}
0