The Question Said "The terms and do not imply any ordering of coordinates. " .
I don't know what is it about ...........
( I don't understand .... what is the error for the input........)
Sorry.
If I paste the code,
[pascal]
if (rx1 > rx2) then begin t:=rx1; rx1:=rx2; rx2:=t; end;
if (ry2 ...
Search found 3 matches
- Tue Jul 02, 2002 10:18 am
- Forum: Volume 1 (100-199)
- Topic: 191 - Intersection
- Replies: 103
- Views: 33381
- Tue Jul 02, 2002 7:10 am
- Forum: Volume 1 (100-199)
- Topic: 191 - Intersection
- Replies: 103
- Views: 33381
Problem 191 - Also Wrong Answer
I don't know why......
My Alogrithm and code are very easy......
Please help....... Thanks
[pascal]
program p191;
var
tin:Text;
i,n:integer;
sx,sy,ex,ey:real;
rx1,ry1,rx2,ry2:real;
m:real;
within:boolean;
forx,fory:real;
ch:char;
function findx(y:real):real;
begin
findx:= sx + (y - sy)/m ...
My Alogrithm and code are very easy......
Please help....... Thanks
[pascal]
program p191;
var
tin:Text;
i,n:integer;
sx,sy,ex,ey:real;
rx1,ry1,rx2,ry2:real;
m:real;
within:boolean;
forx,fory:real;
ch:char;
function findx(y:real):real;
begin
findx:= sx + (y - sy)/m ...
- Tue Jul 02, 2002 7:08 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108444
Problem 101 - Wrong Answer
i don't know why, I get the Wrong Answer........
Please hELp.....
[pascal]
program p101;
var
i,j,n:integer;
s:string;
p:array [0..25,0..25] of byte;
fpos,fh,tpos,th:integer;
ss,sss:string;
mf,mt:integer;
temp:integer;
procedure search(block:integer; var pos1,height:integer);
var i,j ...
Please hELp.....
[pascal]
program p101;
var
i,j,n:integer;
s:string;
p:array [0..25,0..25] of byte;
fpos,fh,tpos,th:integer;
ss,sss:string;
mf,mt:integer;
temp:integer;
procedure search(block:integer; var pos1,height:integer);
var i,j ...