ON bit fixed by uru

a,b=gets.split.map &:to_i
puts [*0..a-1].combination(b).map{|_|"%0#{a}b"%(eval ([p]+_)*"+2**")}.sort

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

download

return to the top page