結果
問題 |
No.218 経験値1.5倍
|
ユーザー |
|
提出日時 | 2015-06-04 01:00:06 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 338 bytes |
コンパイル時間 | 447 ms |
コンパイル使用メモリ | 55,796 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-06 14:05:13 |
合計ジャッジ時間 | 1,193 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 WA * 18 |
ソースコード
#include <iostream> using namespace std; int main() { int a,b,c; int ntime, stime,flag; cin>>a; cin>>b; cin>>c; ntime = a/b; stime = a/c; if (a % b != 0) { ntime += 1; } if (a % c != 0) { stime += 1; } if(ntime*1.5<=stime){ cout<<"YES"<<endl; }else{ cout<<"NO"<<endl; } return 0; }