标签:
1 1.5
4 14
code:
package acmjihe; import java.util.Scanner; public class Main { private static final double PI=3.1415926; public static void main(String[] args) { Scanner input = new Scanner(System.in); while (input.hasNext()) { double R = input.nextDouble(); double TI = 4.0*PI*R*R*R/3; System.out.println(Math.round(TI)); } input.close(); } }
标签:
原文地址:http://www.cnblogs.com/airycode/p/5554274.html