var a,b=0;for(i<-1 to readInt)print(i+(if(a<2){b+=1;a=b+1;"\n"}else{a-=1;" "}))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page