http://acm.hdu.edu.cn/showproblem.php?pid=2002
#include <bits/stdc++.h> using namespace std; #define PI 3.1415927 int main() { double r; double v=0; while(~scanf("%lf",&r)) { v=4*PI*r*r*r/3; printf("%.3lf\n",v); } return 0; }
原文:https://www.cnblogs.com/zlrrrr/p/9321141.html