結果
| 問題 |
No.218 経験値1.5倍
|
| ユーザー |
kotamanegi
|
| 提出日時 | 2015-12-22 23:49:32 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 553 bytes |
| コンパイル時間 | 707 ms |
| コンパイル使用メモリ | 73,120 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-18 19:20:05 |
| 合計ジャッジ時間 | 1,575 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 13 |
ソースコード
#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <stdio.h>
#include <algorithm>
#include <functional>
#include <cstring>
#include <queue>
#include <stack>
#include <math.h>
#include <iterator>
#include <vector>
#include <string>
#include <set>
#include <math.h>
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int kazu = a/b;
if (a%b != 0) kazu++;
int plusnow = a / c;
if (a%c != 0) plusnow++;
if (kazu * 3 >= plusnow * 2) {
cout << "YES" << endl;
}
else {
cout << "NO" << endl;
}
}
kotamanegi