Triangle by not

i=20;k;main(n,x){for(scanf("%d",&n);x;n<k?x=-i--,k=i*~-i/2:printf("%d%c",k,k-x--<n?32:10))k-=x;}

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

download

return to the top page