1 /*
2 Author: Leo.W
3 Descriptipn:
4 How to Do:
5 */
6 #include <stdio.h>
7 #define PI 3.1415926
8 int main(){
9 int t,i,no=0;
10 scanf("%d",&t);
11 while (t--){
12 double x,y;
13 scanf("%lf%lf",&x,&y);
14 i=int(PI*(x*x+y*y)/100+1);
15 printf("Property %d: This property will begin eroding in year %d.\n",++no,i);
16 }
17 printf("END OF OUTPUT.\n");
18 return 0;
19 }
20
posted on 2012-03-09 21:08
Leo.W 阅读(236)
评论(0) 编辑 收藏 引用