Program asd;
USES crt;
Const n=7;
VAR A:array [1..n,1..n] of integer;
i,j,q,w:integer;
BEGIN
For i:=1 to n do
begin
For j:=1 to n do
begin
if((jn-i+1)and(j>i)) then a[i,j]:=1
else a[i,j]:=0;
write(a[i,j]);
end;
Writeln
end;
END.
Интересное задание) заставило подумать