結果

問題 No.453 製薬会社
ユーザー Konton7Konton7
提出日時 2020-04-03 13:10:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 209 bytes
コンパイル時間 512 ms
コンパイル使用メモリ 10,752 KB
実行使用メモリ 8,004 KB
最終ジャッジ日時 2023-09-11 03:16:10
合計ジャッジ時間 1,572 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,924 KB
testcase_01 AC 16 ms
7,764 KB
testcase_02 WA -
testcase_03 AC 16 ms
7,836 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 16 ms
7,932 KB
testcase_07 AC 16 ms
7,884 KB
testcase_08 WA -
testcase_09 AC 16 ms
7,932 KB
testcase_10 AC 16 ms
7,876 KB
testcase_11 AC 16 ms
7,824 KB
testcase_12 AC 16 ms
7,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

c, d = [ int(v) for v in input().split() ]
a = (20 * c - 8 * d) / 13
b = (-7 * c + 21 * d) / 13
amax = min(4 / 3 * c, 4 * d)
bmax = min(7 / 2 * c, 7 / 5 * d)
print(max(1000 * a + 2000 * b, 1000 * a, 2000 * b))
0