Back and forth by 0mg

for(I=i=w="";s=w+(it+=0+readline(e=i)).split(/ |0/)[++I];print(v))for(v=w="";e?--i:s[i++];)v+=s[i-1]||(w+=" ")[0]

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

download

return to the top page