結果

問題 No.218 経験値1.5倍
ユーザー kotamanegi
提出日時 2015-12-22 23:47:14
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 553 bytes
コンパイル時間 665 ms
コンパイル使用メモリ 72,940 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-18 19:20:03
合計ジャッジ時間 1,743 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
	}
}
0