2 条题解

  • 0
    @ 2025-10-14 19:15:22

    Python:

    n = int(input())
    temp = n**(1/3)
    print("%.3f" % (temp*3))
    
    • 0
      @ 2024-7-25 12:48:14

      参考答案:

      #include<iostream>
      #include<cmath>
      
      using namespace std;
      
      int main()
      {
          float a, b;
      
          cin >> a;
          b = pow(a, 1 / 3.0);
          printf("%.3f", b * 3);
      
          return 0;
      }
      
      • 1

      信息

      ID
      40
      时间
      1000ms
      内存
      256MiB
      难度
      7
      标签
      递交数
      23
      已通过
      8
      上传者