Invert FizzBuzz by clock

#!ruby -lpa
$_=($F*'_*').tr'iuz',''
$_=(a='__F_BF__FB_F__
'*12=~/#{~/^F..B$/?:FB:gsub('FB',$/)}/)?[a+1,a+$&.size]*' ':''

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

download

return to the top page