結果

問題 No.218 経験値1.5倍
ユーザー augusuto04
提出日時 2015-06-12 16:52:35
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 316 bytes
コンパイル時間 794 ms
コンパイル使用メモリ 60,840 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-06 15:50:58
合計ジャッジ時間 1,500 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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