原理: PI*r*r/2 <= 50*年数
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
while (true) {
int row = s.nextInt();
for (int i = 1; i <= row; i++) {
float x = s.nextFloat();
float y = s.nextFloat();
System.out.println("Property " + i + ": This property will begin eroding in year " + (int) Math.ceil((x * x + y * y) * Math.PI / 100) + ".");
}
break;
}
System.out.println("END OF OUTPUT.");
s.close();
}
}