题解 | #牛牛的球#
牛牛的球
http://www.nowcoder.com/practice/203ca3114f8845a9bbd673bae6c5dd2b
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double r=sc.nextDouble(); System.out.printf("%.2f",4*3.14*r*r*r/3); } }