Are you compiling in Free Pascal?.
If you do that, you'll see that if X:=9999.9, X = 9999.9 is FALSE!!.
Try this in Free Pascal:
[pascal]var
X:real;
begin
X:=9999.9;
writeLn (X-9999.9)
end.[/pascal]
I still don't know why, and I'm working on it right now.
If anyone programming in Pascal knows why, don't hesitate in posting it here

Thanks in advance for any responses.
_.B._
http://online-judge.uva.es/cgi-bin/Onli ... Info:42085
Code: Select all
P.S.: If the point is IN one of the sides, or if it IS one of the corners of the Rectangle, should it be considered as INSIDE the rectangle?.
Problem 477 specifies that points in borders are not considered inside, but this one doesn't specifies that.