結果

問題 No.218 経験値1.5倍
ユーザー 西尾
提出日時 2018-03-14 12:21:58
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 331 bytes
コンパイル時間 1,963 ms
コンパイル使用メモリ 166,752 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-27 09:12:02
合計ジャッジ時間 2,518 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main()
{
int i;
int a;
int b;
int c;
int iCntB;
int iCntC;

	cin >> a;
	cin >> b;
	cin >> c;

	iCntB = a / b;
	if( a % b != 0 ) iCntB++;

	iCntC = a / c;
	if( a % c != 0 ) iCntC++;

	if( iCntB * 2 < iCntC * 3 )
		cout << "NO" << endl;
	else
		cout << "YES" << endl;

	return 0;
}
0