numof 1 bits in 0 to 255 by erauqssidlroweht

256.times{|e|$><<e.to_s(2).count("1")}

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

download

return to the top page