{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"给一组数,前后相邻的两个数相除,输出商最大的两个数及商的值。"}},{"title":"Input","value":{"format":"HTML","content":"第一行为数组中浮点数的个数n,n大于2,其余n行为每一行一个浮点数。"}},{"title":"Output","value":{"format":"HTML","content":"以下面的形式输出结果,前两个数是相除的两个数,最后一个数为最大的商值。\u003cbr\u003eprintf(\"%f / %f \u003d %f\\n\", a[maxi-1], a[maxi], maxq);"}},{"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\u003e10\r\n41.0\r\n18467.0\r\n6334.0\r\n26500.0\r\n19169.0\r\n15724.0\r\n11478.0\r\n29358.0\r\n26962.0\r\n24464.0\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e18467.000000 / 6334.000000 \u003d 2.915535\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Hint","value":{"format":"HTML","content":"应使用动态数组保存输入的浮点数。\u003cbr\u003e运算过程中应只使用float类型的浮点数。"}}]}