結果

問題 No.218 経験値1.5倍
ユーザー chakkuchakku
提出日時 2016-03-17 01:17:09
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 306 bytes
コンパイル時間 641 ms
コンパイル使用メモリ 59,812 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-29 15:35:15
合計ジャッジ時間 1,683 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

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

typedef long long ll;

int main(){
	ll a, b, c;
	cin >> a >> b >> c;
	ll need = a / b + ((a%b) > 0);
	ll need2 = a / c + ((a%c) > 0);
	if (need2 <= need * 2 / 3) cout << "YES" << endl;
	else cout << "NO" << endl;
	return 0;
}
0