|
|
back to board+++++Wrong answer test(4) Why?Help me+++++ program de; var a:array[1..100,1..100] of byte; t,i,j,z,n:integer; begin readln(n); z:=2; t:=0; if n=1 then write(1) else begin repeat for i:=1 to z-1 do if (z-i<=n) and (i<=n) then begin inc(t); a[i,z-i]:=t; end; inc(z); until z=n*n+1; for i:=1 to n do begin for j:=n downto 1 do write(a[i,j],' '); writeln; end; end; end. Re: +++++Wrong answer test(4) Why?Help me+++++ Check your program for the test 100 (answer is very strange :) wo blin ya mudak, thank you+++++++ |
|
|