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:wa的没信心了,大家帮忙看下……In Reply To:wa的没信心了,大家帮忙看下…… Posted by:sothink at 2004-10-01 19:28:25 计算公式有问题;area=area+x*yy-xx*y;改为int h= xx - x ;area=area+(yy + y ) * h;或area += (yy+y)*(xx-x);就正确了。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator