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

Make your WA code Accepted :

Posted by vartan at 2008-08-31 00:23:07 on Problem 2624
it has problem with end of file .
so use this pattern an Accept your code :D

while(scanf("%lf%lf%lf%lf%lf%lf%lf%lf",&arr[0].x,&arr[0].y,&arr[1].x,&arr[1].y,&arr[2].x,&arr[2].y,&arr[3].x,&arr[3].y)!=EOF)
{
.
.
.
}

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