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

的确如此!!!

Posted by IceKingdom at 2008-10-08 11:48:55 on Problem 2624 and last updated at 2008-10-08 11:50:22
In Reply To:Make your WA code Accepted : Posted by:vartan at 2008-08-31 00:23:07
> 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)
> {
> .
> .
> .
> }
对对对!
我用的pascal
while not eof do begin
 read(p[1].x); if eof then break;
 read(p[1].y);
 for i:=2 to 4 do read(p[i].x,p[i].y);
.........

谁最阴险????北大就是!

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