p:=c:=1;for(i,1,File standardInput readLine asNumber,write(i,if(p==i,c=c+1;p=p+c;" "," ")))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page