enum M{M;int i=1,j,k;{long[]a=new long[2038];for(a[1]=1;j++<10;i+=i+j-1)for(k=0;k++<i+j/2;a[i+i+j-k]=a[k]+=a[k-1])System.out.print(k>i?"":a[k]+(k<i?" ":"\n"));}}

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

download

return to the top page