Similarity Expansion by 0mg

for(;;)print(h=readline().replace(/ \W+/g,function(t,i)h.slice(i,t.length/!!t[5])))

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

download

return to the top page