Looped grid by BioFALSE

var i,j,n:byte;
begin
read(n);
for i:=1to n do
for j:=1to n do
if j=n then writeln(1+abs(j-i))else write(1+abs(j-i),' ');
end.

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page