Đếm ô vuông

09/06/2020 Nosomovo 0

CHƯƠNG TRÌNH: program bai3_ovuong; const fi=’SQUARE.INP’; fo=’SQUARE.OUT’; var f:text; a,nga,doc:array[1..1000,1..1000] of integer; i,m,n,d,j:integer; procedure nhap; var i,j:integer; begin assign(f,fi); reset(f); readln(f,m,n); for i:=1 to m do begin for j:=1 to n-1 do read(f,nga[i,j]); readln(f); end; for i:=1 to m-1 do begin for j:=1 to n do read(f,doc[i,j]); readln(f); end; end;