Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164474 屠思宇 【基础题】圆柱体表面积(2) C++ Accepted 1 MS 276 KB 209 2026-11-03 19:32:06

Tests(9/9):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ double p=3.1415926; double r,h; cin>>r>>h; double s=2*p*r*r+2*p*r*h; cout<<fixed<<setprecision(3)<<s<<endl; return 0; }