pi=3.14159 r=float(input()) d=r*2 c=2*pi*r s=pi*r**2 print(str('%.4f' % d)+' '+str('%.4f' % c)+' '+str('%.4f' % s))
#include<bits/stdc++.h> using namespace std; int main(){ double a,b,pi=3.14159; cin>>a; printf("%0.4lf %0.4lf %0.4lf",a*2,a*pi*2,a*a*pi); return 0; }
使用您的 Hydro 通用账户