結果

問題 No.218 経験値1.5倍
ユーザー prog470prog470
提出日時 2015-06-04 00:51:11
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 275 bytes
コンパイル時間 323 ms
コンパイル使用メモリ 53,976 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-06 14:05:08
合計ジャッジ時間 1,056 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 18 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main() {
	
	int a,b,c;
	int ntime, stime,flag;
	
	cin>>a;
	cin>>b;
	cin>>c;
	
	ntime = a/b+((a%b!=0)?1:0);
	stime = a/c+((a%c!=0)?1:0);
	
	if(ntime*(2/3)<=stime){
		cout<<"YES"<<endl;
	}else{
		cout<<"NO"<<endl;
	}
	
	return 0;
}
0