【ZOJ3919 2016年浙大2月月赛E】【简单计算几何 贪心】Ellipse 椭圆内切圆外切平行四边形最大最小面积

这道题目要求求解在给定椭圆内,且外切于原点处的圆的所有平行四边形中,最大和最小面积。输入包含多个测试用例,每个用例给出椭圆的参数。输出应精确到10^-6的误差范围内,给出最大和最小面积。
摘要由CSDN通过智能技术生成
Ellipse

Time Limit: 2 Seconds        Memory Limit: 65536 KB        Special Judge

There is an beautiful ellipse whose curve equation is:

\frac {x^2}{a^2} + \frac {y^2}{b^2} = 1 (a > b > 0)
.

There is a parallelogram named P inscribed in this ellipse. At the same time, the parallelogram P is externally tangent to some circle center at the origin (0,0).

Now your task is to output the maximum and minimum area of P among all possible conditions.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值