結果

問題 No.218 経験値1.5倍
ユーザー yuppe19 😺yuppe19 😺
提出日時 2015-05-22 16:37:52
言語 Python2
(2.7.18)
結果
AC  
実行時間 23 ms / 2,000 ms
コード長 267 bytes
コンパイル時間 544 ms
コンパイル使用メモリ 6,484 KB
実行使用メモリ 7,832 KB
最終ジャッジ日時 2023-08-28 14:02:11
合計ジャッジ時間 2,644 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
7,756 KB
testcase_01 AC 21 ms
7,792 KB
testcase_02 AC 22 ms
7,784 KB
testcase_03 AC 21 ms
7,748 KB
testcase_04 AC 21 ms
7,752 KB
testcase_05 AC 21 ms
7,756 KB
testcase_06 AC 21 ms
7,700 KB
testcase_07 AC 22 ms
7,676 KB
testcase_08 AC 21 ms
7,832 KB
testcase_09 AC 22 ms
7,632 KB
testcase_10 AC 22 ms
7,788 KB
testcase_11 AC 21 ms
7,788 KB
testcase_12 AC 21 ms
7,620 KB
testcase_13 AC 21 ms
7,784 KB
testcase_14 AC 21 ms
7,620 KB
testcase_15 AC 21 ms
7,788 KB
testcase_16 AC 23 ms
7,648 KB
testcase_17 AC 22 ms
7,648 KB
testcase_18 AC 22 ms
7,792 KB
testcase_19 AC 22 ms
7,576 KB
testcase_20 AC 22 ms
7,696 KB
testcase_21 AC 22 ms
7,644 KB
testcase_22 AC 23 ms
7,648 KB
testcase_23 AC 22 ms
7,644 KB
testcase_24 AC 23 ms
7,784 KB
testcase_25 AC 23 ms
7,800 KB
testcase_26 AC 23 ms
7,792 KB
testcase_27 AC 22 ms
7,796 KB
testcase_28 AC 23 ms
7,652 KB
testcase_29 AC 22 ms
7,652 KB
testcase_30 AC 23 ms
7,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/python
from fractions import Fraction
from math import ceil

a = Fraction(raw_input())
b = Fraction(raw_input())
c = Fraction(raw_input())
x = int(ceil(a / b))
y = int(ceil(a / c))
if x * Fraction('2/3') >= y:
    res = 'YES'
else:
    res = 'NO'
print res
0