2 条题解

  • 0
    @ 2025-8-17 8:17:24
    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))
    
    
    • 0
      @ 2025-3-15 10:30:04
      #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;
      }
      
      • 1

      信息

      ID
      316
      时间
      1000ms
      内存
      128MiB
      难度
      6
      标签
      递交数
      137
      已通过
      46
      上传者