while 1: J=int(input()*2)+1;R=range(J) for y in R: for x in R:print(x==y+1)*x*(J-x), print
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page