#include <stdio.h>
#include <math.h>
int main()
{
int count;
double x,y;
int i;
scanf("%d",&count);
for(i=0;i!=count;i++)
{
scanf("%lf %lf",&x,&y);
printf("Property %d: This property will begin eroding in year %d.\n",i+1,(int)ceil((x*x+y*y)*3.14/100));
}
printf("END OF OUTPUT.\n");
return 0;
}
1005
最新推荐文章于 2022-02-25 19:38:17 发布