#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(int i=0;i> N; double ans=0; double d=1.0/10000000; for(i=0;i<10000000;i++){ double t=(2*i+1)*d/2; ans+=d*sqrt(t*t*t+N*N*N); } cout << fixed << setprecision(12) << ans << endl; return 0; }