結果
問題 |
No.218 経験値1.5倍
|
ユーザー |
|
提出日時 | 2015-05-22 16:37:52 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 25 ms / 2,000 ms |
コード長 | 267 bytes |
コンパイル時間 | 217 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 8,064 KB |
最終ジャッジ日時 | 2024-12-29 14:49:44 |
合計ジャッジ時間 | 2,058 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#!/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