Up and Down by 51b

s[];main(c){char*p=gets(s);for(;c=~getchar();)*p?*p+++=c%4+1:(p=s);puts(s);}

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

download

return to the top page