結果

問題 No.218 経験値1.5倍
ユーザー hkawa117
提出日時 2015-09-13 13:10:05
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 269 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-07-19 06:20:59
合計ジャッジ時間 1,614 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import ceil
expformax = float(raw_input())
expbyitem = float(raw_input())
expbycamp = float(raw_input())

m = ceil(expformax / expbyitem)
n = ceil(expformax / expbycamp)

if int((m * 2)/3) >= n:
    print 'YES'
    print m,n,int((m*2)/3)
else:
    print 'NO'
0