結果

問題 No.1230 Hall_and_me
ユーザー KudeKude
提出日時 2020-09-18 21:31:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 154 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 87,176 KB
実行使用メモリ 71,624 KB
最終ジャッジ日時 2023-09-04 09:56:36
合計ジャッジ時間 4,668 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,496 KB
testcase_01 AC 76 ms
71,296 KB
testcase_02 AC 78 ms
71,440 KB
testcase_03 AC 78 ms
71,288 KB
testcase_04 AC 78 ms
71,452 KB
testcase_05 AC 78 ms
71,404 KB
testcase_06 AC 76 ms
71,328 KB
testcase_07 AC 77 ms
71,576 KB
testcase_08 AC 76 ms
71,216 KB
testcase_09 AC 77 ms
71,164 KB
testcase_10 AC 77 ms
71,440 KB
testcase_11 AC 78 ms
71,600 KB
testcase_12 AC 78 ms
71,464 KB
testcase_13 AC 77 ms
71,620 KB
testcase_14 AC 76 ms
71,464 KB
testcase_15 AC 76 ms
71,404 KB
testcase_16 AC 77 ms
71,300 KB
testcase_17 AC 76 ms
71,456 KB
testcase_18 AC 76 ms
71,304 KB
testcase_19 AC 76 ms
71,096 KB
testcase_20 AC 77 ms
71,464 KB
testcase_21 AC 77 ms
71,208 KB
testcase_22 AC 76 ms
71,312 KB
testcase_23 AC 76 ms
71,556 KB
testcase_24 AC 74 ms
71,320 KB
testcase_25 AC 75 ms
71,236 KB
testcase_26 AC 75 ms
71,624 KB
testcase_27 AC 76 ms
71,388 KB
testcase_28 AC 74 ms
71,372 KB
testcase_29 AC 76 ms
71,248 KB
testcase_30 AC 77 ms
71,320 KB
testcase_31 AC 76 ms
71,160 KB
testcase_32 AC 75 ms
71,316 KB
testcase_33 AC 76 ms
71,236 KB
testcase_34 AC 75 ms
71,296 KB
testcase_35 AC 75 ms
71,408 KB
testcase_36 AC 75 ms
71,096 KB
testcase_37 AC 76 ms
71,456 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

p, q, r = map(int, input().split())
tot = p + q + r
stay_ans = max(p, q, r) / tot
change_ans = (tot - min(p, q, r)) / tot
print(max(stay_ans, change_ans))
0