Derangements by leonid

[*1..6].permutation{|x|x.all?{|y|x[y-1]!=y}&&$><<x<<$/}

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

download

return top