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:wa的没信心了,大家帮忙看下……

Posted by sleepboy at 2004-10-01 21:10:34 on Problem 1654
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:
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