Average Character by twobit

s,l;main(c){for(;~(c=getchar());s+=c)c<11?s/=l,c=l=s=!puts(&s):l++;}

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

download

return to the top page