結果
| 問題 |
No.218 経験値1.5倍
|
| コンテスト | |
| ユーザー |
158b
|
| 提出日時 | 2015-05-29 22:25:33 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 391 bytes |
| コンパイル時間 | 777 ms |
| コンパイル使用メモリ | 63,532 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-29 14:55:17 |
| 合計ジャッジ時間 | 1,668 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
#include <iostream>
#include <algorithm>
#include <functional>
#include <string>
#include <limits.h>
#include <vector>
#include <numeric>
using namespace std;
int main(){
int a,b,c;
int test1,test2;
cin >> a >> b >> c;
test1 = (a + b - 1) / b;
test2 = (a + c - 1) / c;
if((double)test1 / 3 * 2 >= test2){
cout << "YES" << endl;
}else{
cout << "NO" << endl;
}
return 0;
}
158b