結果
| 問題 | No.450 ベー君のシャトルラン |
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2020-11-18 00:44:20 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 223 bytes |
| 記録 | |
| コンパイル時間 | 309 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 80,412 KB |
| 最終ジャッジ日時 | 2026-04-03 13:30:32 |
| 合計ジャッジ時間 | 47,301 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 18 WA * 2 |
ソースコード
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)
Kazun