結果

問題 No.218 経験値1.5倍
ユーザー naimonon77
提出日時 2015-10-04 17:05:13
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 657 bytes
コンパイル時間 734 ms
コンパイル使用メモリ 66,076 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-29 15:23:42
合計ジャッジ時間 1,839 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <algorithm>
#include <sstream>
#include <map>
#include <set>
#include <cstdio>
using namespace std;

#define REP(i,a,b) for(i=a;i<b;i++)
#define rep(i,n) REP(i,0,n)

typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
/* ここからが本編 */
/* */
/* 入力開始! */
/* 入力終了! */
int main(void)
{
   int i,j;
   int a,b,c;
   int normal,campaign;
   cin >> a >> b >> c;
   normal = a / b;
   if(a%b) normal++;
   campaign = a / c;
   if(a%c) campaign++;
   if(normal*2 >= campaign*3) puts("YES");
   else puts("NO");
   return 0;
}
0