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

Re:请各位高手看看

Posted by liaoxinghao at 2011-07-20 08:55:54 on Problem 1005
In Reply To:请各位高手看看 Posted by:kejie1235 at 2011-07-14 08:47:56
>   为什么要100*他的年数,而不是50呢??这个问题我一直都想不通。还有另一种算法,我不知道为什么不行。我们先可以把x,y作比较,把最大值出入max当中,然后r=sqrt(100*i/PI),把max与r作比较然后break跳出循环。

S圆=πr²=2个半圆;
一个半圆=50平方米;
S圆=100平方米;
所以r=sqrt(100*i/PI);

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