結果

問題 No.450 ベー君のシャトルラン
ユーザー 👑 KazunKazun
提出日時 2020-11-18 00:44:20
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 223 bytes
コンパイル時間 773 ms
コンパイル使用メモリ 87,064 KB
実行使用メモリ 76,620 KB
最終ジャッジ日時 2023-09-30 14:37:52
合計ジャッジ時間 48,955 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,975 ms
76,396 KB
testcase_01 AC 1,974 ms
76,360 KB
testcase_02 AC 1,973 ms
76,332 KB
testcase_03 AC 1,973 ms
76,356 KB
testcase_04 AC 1,972 ms
76,412 KB
testcase_05 AC 1,973 ms
76,588 KB
testcase_06 AC 1,974 ms
76,456 KB
testcase_07 AC 1,974 ms
76,472 KB
testcase_08 AC 1,973 ms
76,360 KB
testcase_09 AC 1,974 ms
76,308 KB
testcase_10 AC 1,973 ms
76,308 KB
testcase_11 AC 1,974 ms
76,312 KB
testcase_12 AC 1,974 ms
76,476 KB
testcase_13 AC 1,974 ms
76,588 KB
testcase_14 AC 1,973 ms
76,620 KB
testcase_15 AC 1,975 ms
76,256 KB
testcase_16 AC 1,974 ms
76,592 KB
testcase_17 AC 1,972 ms
76,372 KB
testcase_18 AC 1,973 ms
76,496 KB
testcase_19 AC 1,972 ms
76,416 KB
testcase_20 AC 1,973 ms
76,388 KB
testcase_21 WA -
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from time import time

vl,vr=map(int,input().split())
v=vl+vr

d=int(input())
w=int(input())
wl=w+vl;wr=w+vr

BEGIN=time()
TIME_LIMIT=1.900
T=0

while time()-BEGIN<=TIME_LIMIT:
    T+=(d-T*v)/wr
    T+=(d-T*v)/wl
print(T*w)
0