#include<cstdio>
#include<cmath>
using namespace std;
const double pi = 3.1415926;
int main()
{
double x , y , r;
int t,i;
scanf("%d",&t);
int tt = 1;
while(t--)
{
double temp = 0;
scanf("%lf%lf",&x,&y);
r = x*x + y*y;
for(i = 1;;i++)
{
temp = (double)i*100/pi;
if(temp >= r)
break;
}
printf("Property %d: This property will begin eroding in year %d.\n",tt++,i);
}
printf("END OF OUTPUT.");
}
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |