Run ID User Problem Result Memory Time Language Code Length Submit Time
6695721 kingpro 1005 Accepted 248K 0MS C++ 333B 2010-04-06 19:41:18

 

 

#include <iostream>
#include 
<cmath>
using namespace std;

int main()
{
    
int cnt, i;
    
double x, y;
    
for(cin>>cnt, i=0; (i<cnt && (cin>>x>>y, cout<<"Property "<<i+1<<": This property will begin eroding in year "<<ceil(3.141592654/100*(x*x+y*y))<<"."<<endl, true)) || (cout<<"END OF OUTPUT."<<endl, false); i++);
    
return 0;
}

 

 

这个...也忽略...

 posted on 2010-04-06 19:44  步碎酒散花醉  阅读(236)  评论(0)    收藏  举报