pku1005

#include<iostream>

using namespace std;

int main(){

     float x,y;//坐标

     int testcase,t=0;

     cin>>testcase;

     while(testcase){

       cin>>x>>y;

       ++t;

       cout<<"Property "<<t<<": This property will begin eroding in year "<<(int)(3.1415926*(x*x+y*y)/100+1)<<"."<<endl;

         --testcase;

     }

     cout<<"END OF OUTPUT."<<endl;

     return 0;             

 

}

posted @ 2008-12-29 13:18  yyzhang  阅读(102)  评论(0编辑  收藏  举报
无觅关联推荐,快速提升流量