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 |
WA的注意一下。。如果你是用的 h1 = sqrt(x * x - l * l); h2 = sqrt(y * y - l * l); cc = (h1 * h2) / (h1 + h2); 然后用cc和c比较的话。。 一定要 l = 0; r = gmin(x, y);//这里不能图省事。。只赋一个x或y是不对的。要不然就根号负的了。。 WA死我了。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator