fork download
  1. var
  2. a: array[1..5, 1..5] of integer;
  3. i, j: integer;
  4. begin
  5. for i := 1 to 5 do
  6. for j := i + 1 to 5 do
  7. a[i, j] := 1;
  8. for i := 1 to 5 do
  9. begin
  10. for j := 1 to 5 do
  11. write(a[i,j]:2);
  12. writeln;
  13. end;
  14. end.
Success #stdin #stdout 0s 232KB
stdin
Standard input is empty
stdout
 0 1 1 1 1
 0 0 1 1 1
 0 0 0 1 1
 0 0 0 0 1
 0 0 0 0 0