文件名称:chengxu
介绍说明--下载内容来自于网络,使用问题请自行百度
找出蛋糕的制作方案(适当的Ri和Hi的值),使S最小。
输入
有两行,第一行为N(N<=10000),表示待制作的蛋糕的体积为Nπ;第二行为M(M<=20),表示蛋糕的层数为M。
输出
仅一行,是一个正整数S(若无解则S=0)。-Find recipe program (appropriate value of Ri and Hi), the S minimum. Enter the two lines, first line N (N < = 10000), said to be the volume of cake produced Nπ second line M (M < = 20), that the cake layers for the M. Output only line, is a positive integer S (without solutions is S = 0).
输入
有两行,第一行为N(N<=10000),表示待制作的蛋糕的体积为Nπ;第二行为M(M<=20),表示蛋糕的层数为M。
输出
仅一行,是一个正整数S(若无解则S=0)。-Find recipe program (appropriate value of Ri and Hi), the S minimum. Enter the two lines, first line N (N < = 10000), said to be the volume of cake produced Nπ second line M (M < = 20), that the cake layers for the M. Output only line, is a positive integer S (without solutions is S = 0).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chengxu.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
