結果
問題 | No.450 ベー君のシャトルラン |
ユーザー |
👑 ![]() |
提出日時 | 2020-11-18 00:46:20 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 235 bytes |
コンパイル時間 | 394 ms |
コンパイル使用メモリ | 82,440 KB |
実行使用メモリ | 75,372 KB |
最終ジャッジ日時 | 2024-07-23 08:39:49 |
合計ジャッジ時間 | 47,723 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 WA * 2 |
ソースコード
from time import timevl,vr=map(int,input().split())v=vl+vrd=int(input())w=int(input())iwl=1/(w+vl);iwr=1/(w+vr)BEGIN=time()TIME_LIMIT=1.900T=0while time()-BEGIN<=TIME_LIMIT:T+=(d-T*v)*iwrT+=(d-T*v)*iwlprint(T*w)