1 #include <iostream> 2 #include <cmath> 3 #include <iomanip> 4 #define pi 3.1415926536 5 6 using namespace std; 7 8 int main() 9 { 10 //freopen("acm.acm","r",stdin); 11 double D; 12 double V; 13 double ans; 14 while(cin>>D>>V,D) 15 { 16 // ans = pow(D*D*D-6*V/PI,1.0/3.0); 17 ans = pow((D*D*D-6.0*V/pi),1.0/3); 18 cout<<setiosflags(ios::fixed)<<setprecision(3)<<ans<<endl; 19 } 20 }