結果

問題 No.236 鴛鴦茶
ユーザー ohanaohana
提出日時 2023-10-23 14:53:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 145 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 81,772 KB
実行使用メモリ 79,260 KB
最終ジャッジ日時 2023-10-23 14:54:02
合計ジャッジ時間 4,854 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
79,252 KB
testcase_01 AC 120 ms
79,256 KB
testcase_02 AC 123 ms
79,256 KB
testcase_03 AC 123 ms
79,256 KB
testcase_04 AC 120 ms
79,256 KB
testcase_05 AC 118 ms
79,256 KB
testcase_06 AC 119 ms
79,260 KB
testcase_07 AC 118 ms
79,256 KB
testcase_08 AC 145 ms
79,260 KB
testcase_09 AC 121 ms
79,256 KB
testcase_10 AC 122 ms
79,256 KB
testcase_11 AC 122 ms
79,260 KB
testcase_12 AC 131 ms
79,256 KB
testcase_13 AC 130 ms
79,260 KB
testcase_14 AC 122 ms
79,256 KB
testcase_15 AC 120 ms
79,260 KB
testcase_16 AC 122 ms
79,256 KB
testcase_17 AC 122 ms
79,256 KB
testcase_18 AC 123 ms
79,256 KB
testcase_19 AC 123 ms
79,260 KB
testcase_20 AC 122 ms
79,260 KB
testcase_21 AC 122 ms
79,252 KB
testcase_22 AC 124 ms
79,256 KB
testcase_23 AC 128 ms
79,256 KB
testcase_24 AC 127 ms
79,256 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import decimal

a, b, x, y = map(decimal.Decimal, input().split())
c = a + b
print((a + b) * min(x / a, y / b))
0