POJ1005

问题描述###

水是生命之源~


难点###

难度在于读懂题,英语差伤不起~


代码实现###

package poj; import java.util.Scanner; public class Poj1005 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int len = sc.nextInt(); int c = 1; while(c <= len){ double x=sc.nextDouble(); double y=sc.nextDouble(); double area=Math.PI*(x*x+y*y); int ans=0; double sum=0; while(sum

你可能感兴趣的:(POJ1005)