{"trustable":true,"prependHtml":"\u003cscript\u003e window.katexOptions \u003d { disable: true }; \u003c/script\u003e\n\u003cscript type\u003d\"text/x-mathjax-config\"\u003e\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [[\u0027$$$\u0027,\u0027$$$\u0027], [\u0027$\u0027,\u0027$\u0027]],\n displayMath: [[\u0027$$$$$$\u0027,\u0027$$$$$$\u0027], [\u0027$$\u0027,\u0027$$\u0027]]\n }\n });\n\u003c/script\u003e\n\u003cscript async src\u003d\"https://mathjax.codeforces.org/MathJax.js?config\u003dTeX-AMS-MML_HTMLorMML\" type\u003d\"text/javascript\"\u003e\u003c/script\u003e","sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv class\u003d\"panel_content\"\u003eXXX is playing an interesting game which is based on a 2D plane. In this game, he is required to shoot an airplane. The airplane flies horizontally. The shape of it can be regarded as a simple polygon. Player has to shoot at point (0, 0) upward vertically. Because the bullet is very small, it can be regarded as a point. The airplane is hit only if the bullet goes into the airplane. The airplane is not hit if the bullet only touches the edge of the airplane. The gravity should be considered. The acceleration of gravity is g and its direction is downward vertically. So the speed of the bullet may be change during flying. But the speed of airplane is constant because it has engines. XXX wants to know the time it takes the bullet to hit the airplane after shooting.\u003c/div\u003e"}},{"title":"Input","value":{"format":"HTML","content":"There are multiple cases.\u003cbr\u003eIn each case, there are three integers v (-10\u0026lt;\u003d v \u0026lt;\u003d 10), b (1 \u0026lt;\u003d b \u0026lt;\u003d 10), g (0 \u0026lt;\u003d g \u0026lt;\u003d 10) in the first line. v denotes the speed of airplane. The flying direction is from left to right if v is positive and the direction is from right to left if v is negative. b denotes the initial speed of bullet. g is the acceleration of gravity. Then the input will describe the position of the airplane when XXX shoots. In the second line, there is one integer n (3 \u0026lt;\u003d n \u0026lt;\u003d 20) which represents the number of vertexes of the airplane (polygon). In each of the next n lines, there are two integers x (-100 \u0026lt;\u003d x \u0026lt;\u003d 100), y (0 \u0026lt;y\u0026lt;\u003d 100) which give the position of a vertex in order. There is a blank line after each case. The input ends with 0 0 0.\u003cbr\u003e"}},{"title":"Output","value":{"format":"HTML","content":"If the airplane is hit, then output the time it takes the bullet to hit it after shooting in one line. The answer should be rounded to 2 digits after decimal point. If the airplane is not hit, then output “Miss!” in one line.\u003cbr\u003e"}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e-10 10 2\r\n9\r\n6 9\r\n10 9\r\n10 16\r\n25 16\r\n25 20\r\n10 20\r\n10 27\r\n6 27\r\n-10 18\r\n\r\n-10 10 2\r\n9\r\n6 9\r\n10 9\r\n10 16\r\n20 16\r\n20 20\r\n10 20\r\n10 27\r\n6 27\r\n-10 18\r\n\r\n0 0 0\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e2.00\r\nMiss!\r\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}