Triangle by yuyarin

n,x,i=21,s=211;main(d){for(scanf("%d",&n);d=--i;)for(x=s-=i;n/x;x+=d)printf(++d+x>n?"%d\n":"%d ",x);}

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

download

return to the top page