提交时间:2024-10-28 11:55:49
运行 ID: 54440
#include<bits/stdc++.h> using namespace std; int main() { double r, d, c,s; double p = 3.14159; cin >> r; d = r * 2; c = d * p; s = p * r * r; cout << fixed << setprecision(4) <<d << " " << c <<" "<< s; return 0; }