delete words by hinoe

d,r;char*p,*q=0,s[];f(){r=q-s?*--q==*p?f(p+=d),p-=d,r?*p=32:0:0,*++q-10?r:0:1;}main(){for(read(0,s,s),p=q=index(s,10);*p;)f(d=d>0?-d:~d?++p,1:13);puts(q+1);}

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

download

return to the top page