Ladder corner problem by shinh

while gets
a,b=$_.split
p ((a.to_i**(2/3.0)+b.to_i**(2/3.0))**(3.0/2)+0.5).to_i
end

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

download

return to the top page