Logo
(追記) (追記ここまで)

24244번 - 100 meter dash 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 (추가 시간 없음) 1024 MB1386100.000%

문제

As CS student we sit around all day looking at screens. This is bad for us in many different ways; back pain, need of glasses, and lack of social life. According to the government regular exercise can help with some of these problems. Although you strongly believe this might not be the case, you have decided to start running, and tracking your runs with Ztrawa GPS-tracking mobile app.

Ztrawa stores your position coordinates $(x, y)$ at some random intervals. When you are done with your run you can look at many different cool stats like your elevation gain, your fastest 100ドル$m, and your average speed from point $A$ to $B$.

Since all CS students are looking to Min-Max everything you are only interested in your best 100ドル$m over your run. Sadly your Ztrawa app has a bug and the Min-Max feature has stop working, so you need to work it out yourself.

As Ztrawa only collect some finite amount of data points, we will assume constant speed between two consecutive data points. For example, say you were running around a 400ドル$m track and recorded 6ドル$ data points going all around the track and back where you started. This is sample case 1ドル,ドル where we started running from the bottom left, and went around counter-clockwise.

You need to create your own program so you can find what your fastest 100ドル$m was measured in seconds.

Illustration of sample case 1ドル$.

입력

The first line contains an integer 1ドル \leq n \leq 10^5$ indicating the number of readings from Ztrawa. Then follows $n$ lines containing the information of each reading. The $i^{\text{th}}$ such lines contains three real numbers $x_i,ドル $y_i$ and $t_i,ドル indicating that at the time of reading $i,ドル you were at meter coordinates $(x_i, y_i)$ relative to where you started, and $t_i$ seconds has passed since the beginning of the session. It holds that $-10^5 \leq x_i, y_i \leq 10^5$ for every $i,ドル and 0ドル < t_1 < t_2 < \ldots < t_n \leq 10^7$. All real numbers are given with at most 6ドル$ decimal places.

You always start running from $(0, 0)$ at time 0ドル$.

출력

Output a single real number, how fast you ran the fastest 100m measured in seconds. Anything with an absolute or relative error of 10ドル^{-4}$ will be accepted.

제한

예제 입력 1

6
84.39 0 10
120.89 36.5 14.3
84.39 73 18.4
0 73 28.5
-36.5 36.5 32.7
0 0 36.95

예제 출력 1

8.130299066033297

힌트

출처

Contest > Bergen Open > Bergen Open 2021 H번

  • 문제를 만든 사람: Brigt Arve Toppe Håvardstun
  • 데이터를 추가한 사람: kyo20111
(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /