結果
| 問題 | No.450 ベー君のシャトルラン |
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2020-11-18 00:46:20 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 235 bytes |
| 記録 | |
| コンパイル時間 | 306 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 80,256 KB |
| 最終ジャッジ日時 | 2026-04-03 13:30:46 |
| 合計ジャッジ時間 | 52,848 ms |
|
ジャッジサーバーID (参考情報) |
judge5_1 / judge3_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())
iwl=1/(w+vl);iwr=1/(w+vr)
BEGIN=time()
TIME_LIMIT=1.900
T=0
while time()-BEGIN<=TIME_LIMIT:
T+=(d-T*v)*iwr
T+=(d-T*v)*iwl
print(T*w)
Kazun