結果

問題 No.218 経験値1.5倍
ユーザー a_ten
提出日時 2016-03-28 16:13:01
言語 Python2
(2.7.18)
結果
AC  
実行時間 25 ms / 2,000 ms
コード長 242 bytes
コンパイル時間 500 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 8,064 KB
最終ジャッジ日時 2024-12-29 15:35:33
合計ジャッジ時間 2,344 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding:utf-8

from fractions import Fraction
from math import ceil

a=float(input())
b=input()
c=input()

nml_cost=ceil(a/b)
nml_cost_rate=nml_cost*Fraction(2,3)
spe_cost=ceil(a/c)

if nml_cost_rate < spe_cost:
	print 'NO'
else:
	print 'YES'
0