Zigzag by o-cn

<?for($c=2*~-$a=fgets(STDIN);$i<$a;)echo$$i-++$i-~-$a*$c?$a[(--$i+$$i)%$c*($$i++%$c-$i)?1:2]:~\xf5;

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

download

return to the top page