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:Why wrong all the time?!请大侠们看看啊

Posted by Tyson at 2010-09-12 21:17:23 on Problem 1569
In Reply To:Why wrong all the time?!请大侠们看看啊 Posted by:ecjtuyushuangjian at 2006-05-25 16:15:25
if(s<s1+s2+s3)
你这里只判断了s<s1+s2+s3,当s==s1+s2+s3时,说明这个点在三角形内或边上,则退出当前循环。

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