为啥

wchzh objection 2024-08-11 9:04:32 14

#include <bits/stdc++.h>

using namespace std;

int main() {

double r, h, v;

const double pi = acos(-1.0);

cin >> r >> h;

v = pi * (r * r) * 2 + 2 * pi * r * h;

cout << fixed << setprecision(3) << v;

}

{{ vote && vote.total.up }}

共 1 条回复

root 站长
Area = 274.889

你的输出缺了 Area = 注意读题