numof 1 bits in 0 to 255 by uru

var s:string=#48;i,j:word;begin
for i:=0to 7do for j:=1to 2pow i do
s:=s+succ(s[j]);write(s,8)end.

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

download

return to the top page