题解 | #牛牛的水杯#
牛牛的水杯
http://www.nowcoder.com/practice/c196c47c23394bf3bdd4f82a838df6bf
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int h=sc.nextInt(); int r=sc.nextInt(); System.out.println((int)(10000/(h*3.14*r*r))+1); } }