{"problem":{"name":"023. Ping Pong Parachute","description":{"content":"You are currently working on Ping Pong Parachute for Science Olympiad and you want to test how high your rocket is going. The only problem is that your dog ate your altimeter, so now you can no longer","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF10269023"},"statements":[{"statement_type":"Markdown","content":"You are currently working on Ping Pong Parachute for Science Olympiad and you want to test how high your rocket is going. The only problem is that your dog ate your altimeter, so now you can no longer use it to measure the rocket's height. Luckily you happen to have a PhD in physics and you can just calculate how high the rocket will go. Not only do you have a PhD, but you also have a speedometer, so you can see the speed of the rocket when it takes off(Initial velocity). The equation $V_f^2 = V_i^2 + 2 a d$ to represent the height of the rocket. \n\n$V_i$ = initial velocity\n\n$V_f$ = speed of the rocket at its highest point (Hint: Its not moving)\n\na = acceleration due to gravity (-9.8 $m \\/ s^2$)\n\nd = height of the rocket\n\nA double representing the initial velocity of the rocket\n\nThe predicted height of the rocket\n\n## Input\n\nA double representing the initial velocity of the rocket\n\n## Output\n\nThe predicted height of the rocket\n\n[samples]","is_translate":false,"language":"English"},{"statement_type":"Markdown","content":"**Definitions**  \nLet $ v_i \\in \\mathbb{R}^+ $ be the initial velocity of the rocket (in m/s).  \nLet $ v_f = 0 $ be the final velocity at maximum height (in m/s).  \nLet $ a = -9.8 \\, \\text{m/s}^2 $ be the acceleration due to gravity.  \nLet $ d \\in \\mathbb{R}^+ $ be the maximum height reached by the rocket (in meters).\n\n**Constraints**  \n$ v_i \\geq 0 $\n\n**Objective**  \nCompute $ d $ using the kinematic equation:  \n$$\nv_f^2 = v_i^2 + 2 a d\n$$  \nSolving for $ d $:  \n$$\nd = \\frac{v_i^2}{-2a}\n$$","is_translate":false,"language":"Formal"}],"meta":{"iden":"CF10269023","tags":[],"sample_group":[],"created_at":"2026-03-03 11:00:39"}}