numof 1 bits in 0 to 255 by eban

END{for(;256>j=i++;){for(n=0;j;j/=2)n+=j%2;printf n/2}}

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

download

return to the top page