| ||||||||||
| 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 | |||||||||
的确如此!!!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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator