kenzieleigh7345
kenzieleigh7345
18.02.2020 • 
Mathematics

Input Specification The input will begin with an integer q (q ≤ 100,000), number of shore/ship pairs. The next q lines will each contain 5 space separated integers, a, b, c, x, and y (1 ≤ a ≤ 10,000; -10,000 ≤ b, c, x0, y0 ≤ 10,000), representing a different ship scenario. The ship is located at the point (x0, y0). The shoreline will be modeled by the parabola f(x) = ax 2+bx

Solved
Show answers

Ask an AI advisor a question