#include #include #include using namespace std; int main(){ double c,in,out; cin >> c >> in >> out; double r = (out-in)/2; printf("%.9f\n",pow(r,2)*(in+r)*2*pow(M_PI,2)*c); }