Four Number Game by clock

<?for(;$o=fgetcsv(STDIN,0,~\xdf);print~\xf5)for(;$i||print join(~\xdf,$n=$o).~\xf5,max($n);)$o[+$i]=abs($n[$i++]-$n[$i%=4]);

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

download

return to the top page