添加链接描述

#include<bits/stdc++.h>
#define pi 3.1415926
using namespace std;
int main(){
	int n;
	cin>>n;
	double x,y;
	double d,r;
	int flag=0;
	while(n--){
		cin>>x>>y;
		d = sqrt(x*x+y*y);
		for(int j=1;;j++){
			r = sqrt(100.0*j/pi);
			if(r>d) {flag++;printf("Property %d: This property will begin eroding in year %d.\n",flag,j);break;}
		}
	}
	printf("END OF OUTPUT.");
	return 0;
}