"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
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 »

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);

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

Post by Caesum »

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.....

Posts: 856
Joined: Thu Jan 30, 2003 5:50 am
Location: New York

Post by sohel »


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”