Average Character by pooq

for(v in readLines("stdin")){a=charToRaw(v);write(rawToChar(as.raw(sum(as.numeric(a))/length(a))),T)}

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

download

return to the top page