Ellipse circumference by hos

double a,b,h;main(){for(;~scanf("%lf%lf",&a,&b);printf("%.f\n",3.1416*(a+b)*(((18e-4*h*h+153e-5)*h+1./256)*h*h*h+h*h/64+h/4+1)))h=pow((a-b)/(a+b),2);}

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

download

return to the top page