Problem : 2002 ( 计算球体积 )     Judge Status : Accepted
RunId : 5995463    Language : C    Author : qq1203456195
Code Render Status : Rendered By HDOJ C Code Render Version 0.01 Beta
1 #include <stdio.h>
2 #include <math.h>
3 int main()
4 {
5     double r;
6     while (scanf("%lf",&r)!=EOF)
7         printf("%.3lf\n",4.0/3*3.1415927*pow(r,3));
8     return 0;
9 }

 

相关文章:

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