delete words by murky-satyr

for(r=readline,s=r(w=r());l=r();)s+='\n'+l
for([,n]in[13,1,12,1])for(S=Array(n+1).join(s),s='',i=S[-1];i>=n;s=s.replace(RegExp(w,'g'),w.replace(/./g,' ')))s+=S[i-=n]
print(s)

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

download

return to the top page