当前位置:首页 >> 学科竞赛 >>

Curves


Curves
【题目描述】 明明做作业的时候遇到了 n 个二次函数 Si(x)= ax 函数 F(x) = max(Si(x)), i =
2

+ bx + c,他突发奇想设计了一个新的

1...n.
明明现在想求这个函数在[0,1000]的最小值,要求精确到小数点后四位四舍五入。

【输入数据】 输入包含 T 组数据 (T < 10),每组第一行一个整数 n(n ≤ 10000),之后 n 行,每行 3 个整 数 a (0 ≤ a ≤ 100), b (|b| ≤ 5000), c (|c| ≤ 5000),用来表示每个二次函数的 3 个系 数,注意二次函数有可能退化成一次。

【输出数据】 每组数据一个输出,表示新函数 F(x)的在区间[0,1000]上的最小值。精确到小数点后四 位,四舍五入。

【样例输入】 2

1 200 2 200 2 -4 2

【样例输出】 0.0000 0.5000

【数据范围】

T < 10, n ≤ 10000,0 ≤ a ≤ 100,|b| ≤ 5000, |c| ≤ 5000
前 50%数据 n ≤ 100



相关文章:
中级经济学 英文练习题 偏好
Charlie's indifference curves have the equation xB=constant/xA, where larger constants denote better indifference curves. Charlie strictly prefers the bundle(...
颜色校正曲线 Color Correction Curves
颜色校正曲线 Color Correction Curves_互联网_IT/计算机_专业资料。色彩校正曲线使用曲线调整每一个颜色通道。基于"深度"的调整允许我们根据摄像机与目标物的像素距离...
B-spline Curves(B样条曲线)
B-spline Curves(B样条曲线) - 从C.-K. Shene教授的 Introduction to Computing with Geometry Notes 整理出来的B-Spl...
The demand curves faced by monopolistic competitors is:()...
The demand curves faced by monopolistic competitors is:() A. inelastic due to the availability of many complementary goods. B. elastic due to the ...
克鲁格曼国贸理论第十版课后习题答案 CH06
Second, indifference curves describe the tastes of an economy, and the consumption point for that economy is found at the tangency of the budget line ...
A Level Economics Model Essay Answer 经济学范文
The average variable cost, average total cost and marginal cost curves, although different from one other, all follow the same general pattern: at first ...
等响曲线 五
The definitive curves are those defined in the international standard ISO 226:2003 which are based on a review of several modern determinations made in ...
健身俱乐部经典案例3
经典案例:Curves 女子健身俱乐部 2008-03-22 23:05 美国德克萨斯洲 Curves 女子健身俱乐部进入市场时,市场已经饱和,但 Curves 却引起了美国新的健身需求的爆发,开启...
Drager呼吸机机械通气中的曲线与环
Huanghua, Engineer Medical Engineering Department, The 309th Hospital of PLA, Beijing 3 Curves and Loops in Mechanical Ventilation 当压力、流速和容量同时显示...
ECC算法介绍
ECC算法介绍 - ECC(Elliptic Curves Cryptography)加密算法是一种公钥加密算法,与主流的 RSA 算法相比, ECC 算法可以使用较短的密钥达到相同的安全程度。...
更多相关标签: