圆杆专题

计算自行车踏板圆杆的最小半径

pow()pow(double x, double y) 返回x的y次幂。 #include <iostream>#include<cmath>#define pi 3.1415926using namespace std;int main(){float d,p,s,r3,r;cin>>d>>p>>s;r3=(d*p)/(pi*s);r=pow(r3,1.0/3.0);print