Ellipse circumference by notogawa

while 1:a,b=map(int,raw_input().split());x=n=13;exec"x=3.1416*(a+b)+((1-1.5/n)*(a-b)/(a+b))**2*x;n-=1;"*n;print"%.f"%x

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

download

return top