Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register
欢迎参加IJCAI 2020麻将智能体竞赛,大奖等你拿!Welcome to IJCAI 2020 Mahjong AI competition with amazing prizes!

多谢。。我是直接刚开始带进去的。。之后推着推着不会了

Posted by yayu_myself at 2010-02-06 00:29:09 on Problem 2405
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator