結果

問題 No.218 経験値1.5倍
ユーザー hanorver
提出日時 2015-08-23 19:48:05
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 256 bytes
コンパイル時間 377 ms
コンパイル使用メモリ 59,756 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-18 13:03:15
合計ジャッジ時間 1,145 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<cmath>

int main() {
	double a, b, c;

	std::cin >> a >> b >> c;

	int d = ceil(a / c);
	int e = ceil(a / b);

	if (floor(e * 2.0 / 3) > d)
		std::cout << "YES" << std::endl;
	else
		std::cout << "NO" << std::endl;

	return 0;
}
0