numof 1 bits in 0 to 255 by Patashu (tryeng++)

class A{public static void main(String[]_){for(int j,k,i=-1;i++<255;System.out.print(k))for(j=i,k=0;j>0;j&=j-1)k++;;}}

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

download

return to the top page