結果
| 問題 |
No.218 経験値1.5倍
|
| コンテスト | |
| ユーザー |
hotpepsi
|
| 提出日時 | 2015-05-30 00:52:49 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 430 bytes |
| コンパイル時間 | 519 ms |
| コンパイル使用メモリ | 58,588 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-29 15:02:52 |
| 合計ジャッジ時間 | 1,394 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
#include <iostream>
#include <algorithm>
#include <numeric>
#include <sstream>
#include <cstdio>
using namespace std;
int main(int argc, char *argv[])
{
string s;
getline(cin, s);
int a = atoi(s.c_str());
getline(cin, s);
int b = atoi(s.c_str());
getline(cin, s);
int c = atoi(s.c_str());
int x = (a + b - 1) / b;
int y = (a + c - 1) / c;
bool ans = y * 3 <= x * 2;
cout << (ans ? "YES" : "NO") << endl;
return 0;
}
hotpepsi