結果
| 問題 |
No.218 経験値1.5倍
|
| コンテスト | |
| ユーザー |
ikd
|
| 提出日時 | 2015-11-03 09:46:10 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 315 bytes |
| コンパイル時間 | 512 ms |
| コンパイル使用メモリ | 59,596 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-29 15:25:46 |
| 合計ジャッジ時間 | 1,452 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
#include<iostream>
#include<stdio.h>
#include<math.h>
using namespace std;
int main(){
int a, b, c;
cin>> a>> b>> c;
int cnt1 = ceil((double)a/b);
int cnt2 = ceil((double)a/c);
if(2*cnt1 >= 3*cnt2){
cout<< "YES"<< endl;
}else{
cout<< "NO"<< endl;
}
return 0;
}
ikd