ON bit fixed by kaki

a=gets.to_i;puts$*|([[1]*(a-c=4-a%3)+[0]*c]*$$).map{|s|s.shuffle*""}.sort

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

download

return to the top page