Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
多谢。。我是直接刚开始带进去的。。之后推着推着不会了In Reply To:Re:这题知道圆台公式就OK了。一个while语句就搞定! Posted by:huangcr at 2008-08-12 10:45:22 > v=直径为D的圆柱的面积-两个园台的面积-直径为d的圆柱的面积。 > > V=D*s1-(1/3*(D*s1-d*s2)+s2*d) > > V=2/3*(D*s1-s2*d) > > s1=pi*(D/2)^2 > > s2=Pi*(d/2)^2 多谢 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator