文件名称:Poj_3122_Pie
- 所属分类:
- 其他小程序
- 资源属性:
- 上传时间:
- 2012-11-26
- 文件大小:
- 38kb
- 下载次数:
- 0次
- 提 供 者:
- zhangz******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
看英文题目一开始看不大懂,下面做一下解释:本体就是作者开party然后就做了不同大小不同口味的N个Pie,现在他有k个朋友要参加这个party,但是他的朋友和他要分到相同体积的pie,pie都是圆柱形的,高度全为1.怎么分才能使每个人获得最大体积的pie。同时已知还有各个pie的半径。-My birthday is coming up and traditionally I m serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to my party and each of them gets a piece of pie. This should be one piece of one pie, not several small pieces since that looks messy. This piece can be one whole pie though.
My friends are very annoying and if one of them gets a bigger piece than the others, they start complaining. Therefore all of them should get equally sized (but not necessarily equally shaped) pieces, even if this leads to some pie getting spoiled (which is better than spoiling the party). Of course, I want a piece of pie for myself too, and that piece should also be of the same size.
What is the largest possible piece size all of us can get? All the pies are cylindrical in shape and they all have the same height 1, but the radii of the pies can be different.
Input
My friends are very annoying and if one of them gets a bigger piece than the others, they start complaining. Therefore all of them should get equally sized (but not necessarily equally shaped) pieces, even if this leads to some pie getting spoiled (which is better than spoiling the party). Of course, I want a piece of pie for myself too, and that piece should also be of the same size.
What is the largest possible piece size all of us can get? All the pies are cylindrical in shape and they all have the same height 1, but the radii of the pies can be different.
Input
相关搜索: pie
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Poj_3122_Pie.docx