#include"stdio.h" #define pi 3.14159 int main() { long n, i, t; float x, y; scanf("%d", &n); for (i=1; i<=n; i++) { scanf("%f%f", &x, &y); for (t=1; t < pi * (x * x + y * y) / 100; t++); //semicircle,半圆 printf("Property %d: This property will begin eroding in year %d.\n", i, t); } printf("END OF OUTPUT."); return 0; }