nyoj242
2015-07-20 11:12
134 查看
#include<stdio.h>
#define PI 3.1415926
int main()
{
float R,V;
while(scanf("%f",&R)!=EOF)
{
V=4*PI*R*R*R/3;
printf("%.0f\n",V);
}
return 0;
}
#define PI 3.1415926
int main()
{
float R,V;
while(scanf("%f",&R)!=EOF)
{
V=4*PI*R*R*R/3;
printf("%.0f\n",V);
}
return 0;
}
相关文章推荐
- 内存管理
- C/C++/Objective-C经典书籍推荐
- POJ 2965贪心神解
- 使用exec命令删除前几天产生的日志
- xcode 的 Auto Layout
- c++关于文件打开目录的问题
- Highcharts构建加权平均值图表
- hdu5171 GTY's birthday gift
- 禅与 Objective-C 编程艺术 (Zen and the Art of the Objective-C Craftsmanship 中文翻译)
- Linearlayout添加监听事件
- 深度学习之Matlab 转C++在iOS上测试CNN手型识别
- 【POJ3268】Silver Cow Party 最短
- 【Z13区】记忆留住深刻过往,博客写出平淡事迹【博客首篇】
- 小练习
- Algorithms—149.Max Points on a Line
- LeetCode - Sliding Window Maximum
- java关于开始新项目的问题
- Android 自定义View (二) 进阶
- 幻读和不可重复读的区别
- 压缩感知在稀疏信道估计中的应用