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 |
不明白题意和用例的看过来s=0.5 * pi * (x * x + y * y); 输出ans=(int)(s/(double)50+1); 《题意:50 * ans>0.5 * pi * (x * x + y * y)》 用例解释: 1.0 1.0 ——>因为50 * 1>0.5 * pi * (1.0 * 1.0 + 1.0 * 1.0) 25.0 0.0——>因为50 * 20>0.5 * pi * (25.0 * 25.0 + 0.0 * 0.0) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator