結果

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

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <vector>
#include <deque>
#include <string>
#include <tuple>
#include <functional>
#include <numeric>
#include <cmath>
#include <iomanip>
#include <map>
#include <random>
//#include "toollib.h"
#define INT_MAX 2147483647
#define Loop(i, n) for(int i = 0; i < (int)n; i++)
#pragma warning (disable:4018)

using namespace std;
typedef long long int lint;

//***** Main Program *****

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