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 |
Re:请各位高手看看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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator