"I Think I Need a Houseboat" problem 2363 input wr

Do you want to discuss about these problems? Go now!
Users are shared (no need to re-register).

Moderator: Board moderators

Post Reply
PdR
New poster
Posts: 24
Joined: Mon Dec 30, 2002 4:27 am

"I Think I Need a Houseboat" problem 2363 input wr

Post by PdR » Wed May 28, 2003 12:47 pm

The input is definitly wrong as I got SIGABORT with this:

(Also I got accepted at acm.zju.edu.cn problem 1049)

[c]#include <stdio.h>

int main (void)
{
double x, y;
int n;

scanf ("%d", &n);
while (n -- > 0)
{
if (scanf ("%lf %lf", &x, &y) != 2)
abort ();
}

return (0);
}[/c]

Caesum
Experienced poster
Posts: 225
Joined: Fri May 03, 2002 12:14 am
Location: UK
Contact:

Post by Caesum » Fri Nov 28, 2003 7:32 pm

looks to me like there is definitely a problem with the input file, perhaps someone can check it out ???? no one is ac on this and there are loads of OLE's on it.....

User avatar
sohel
Guru
Posts: 856
Joined: Thu Jan 30, 2003 5:50 am
Location: New York

Post by sohel » Sat Nov 29, 2003 5:32 am

Yes,

the input data is certainly incorrect. This problem looks straight forward and it is surprising to see that no one got it AC.
Please correct the mistake!

Post Reply

Return to “ACM ICPC Archive Board”