結果

問題 No.453 製薬会社
ユーザー brthyyjp
提出日時 2021-12-04 10:48:04
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 82,412 KB
実行使用メモリ 53,432 KB
最終ジャッジ日時 2024-07-06 15:45:17
合計ジャッジ時間 1,283 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 7 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

c, d  =map(int, input().split())

if 3*d <= c:
    x = 4*d
    y = 0
elif 7*c < 15*d and 2*d <= 5*c:
    x = (20*c-8*d)/13
    y = (-7*c+21*d)/13
else:
    x = 0
    y = 7*c/2
print(1000*x+2000*y)
0