#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; #define FOR(i,a,b) for(ll i=(a);i<(b);++i) #define ALL(v) (v).begin(), (v).end() #define p(s) cout<<(s)<> C; double r_in, r_out; cin >> r_in >> r_out; double r = (r_out - r_in) / 2; double S = r * r * M_PI; // 回転距離 l double diameter = 2 * (r_in + r); double l = diameter * M_PI; double V = S * l; double calorie = V * C; cout << setprecision(15); p(calorie); return 0; }