結果

問題 No.450 ベー君のシャトルラン
ユーザー mban
提出日時 2017-03-05 02:34:19
言語 Python2
(2.7.18)
結果
AC  
実行時間 10 ms / 2,000 ms
コード長 242 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2024-06-23 02:16:19
合計ジャッジ時間 1,078 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

Vl = 0
Vr = 0
d = 0
w = 0

def scan():
    l=map(int,raw_input().split())
    global Vl
    global Vr
    global d 
    global w 
    Vl = l[0]
    Vr = l[1]
    d = input()
    w = input()

scan()
time = float(d) / (Vl + Vr)
print w * time

0