/*输出圆柱体的表面积*/ #include <iostream> using namespace std; int main() { double r,h,s; cin>>r>>h; s=3.14*r*r*2+2*3.14*r*h; cout<<s<<endl; return 0; }