Pileup by nn

for(i in a=readline().split(' '))print.apply(s=a[i]+(n=a[-~i]),a),a[i]=s.slice(a[-~i]=s.slice(l=n.length),l)

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

download

return to the top page