結果

問題 No.453 製薬会社
ユーザー brthyyjpbrthyyjp
提出日時 2021-12-04 10:48:04
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 197 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 87,252 KB
実行使用メモリ 71,656 KB
最終ジャッジ日時 2023-09-20 20:57:24
合計ジャッジ時間 2,144 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,320 KB
testcase_01 AC 69 ms
71,288 KB
testcase_02 AC 73 ms
71,148 KB
testcase_03 AC 69 ms
71,516 KB
testcase_04 AC 70 ms
71,624 KB
testcase_05 AC 68 ms
71,268 KB
testcase_06 AC 70 ms
71,656 KB
testcase_07 AC 69 ms
71,304 KB
testcase_08 AC 70 ms
71,328 KB
testcase_09 AC 69 ms
71,488 KB
testcase_10 WA -
testcase_11 AC 72 ms
71,380 KB
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

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