Relative Frequency by pooq

b:slength;while(a:?read\-line(?-,?-,~))#~do printf(?t,"~,6f
",1-(b(sremove(charat(a,1),a))-1)/(b(a)-2));

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

download

return to the top page