numof 1 bits in 0 to 255 by 51b

k;main(i){for(;putchar(k+48)<56;)k+=1-log2(i&-i++);}

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

download

return to the top page