m;char q[],*s=q;main(r){for(;gets(q);m=r,puts(s+=96))for(r=0;r<m*2|q[-~r/2];)s[r+++96]=r&1?s[r/2%m]:q[r/2%strlen(q)];}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page