BoilTask

题目描述

不用pow是因为据说调用函数没有直接乘运算快……

#include<stdio.h>
#define PI 3.1415927
int main()
{
    double V,r;
    while(scanf("%lf",&r)!=EOF)
    {
        V=(PI*r*r*r*4)/3;
        printf("%.3lf\n",V);
    }
return 0;
}

分类:

技术点:

相关文章:

  • 2021-08-17
  • 2021-09-02
  • 2021-06-24
  • 2022-02-13
  • 2021-06-12
  • 2022-01-27
猜你喜欢
  • 2021-10-28
  • 2022-01-05
  • 2021-05-01
  • 2022-12-23
  • 2021-05-08
相关资源
相似解决方案