結果

問題 No.1230 Hall_and_me
ユーザー uni_python
提出日時 2020-09-20 11:53:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 385 bytes
コンパイル時間 200 ms
コンパイル使用メモリ 82,128 KB
実行使用メモリ 52,608 KB
最終ジャッジ日時 2024-06-24 10:40:30
合計ジャッジ時間 2,662 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 36
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    p,q,r=MI()
    
    aaa=[p,q,r]
    for i in range(3):
        aaa[i]/=(p+q+r)
        
    ans=0
    for i in range(3):
        ans=max(ans,aaa[i],1-aaa[i])
    print(ans)
        
    


main()
0