Average Height Rounded Up by KrausRaus

for(;h=readline().split(",");){
t=0
for(e in h)[f,i]=h[e].split("'"),t+=f*12,t+=+i
a=t/h.length+.9|0
print((a/12|0)+"'"+(a%12))}

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page