| 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;
}
#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;
}
这个...也忽略...
Author: CriusWuBlog: http://kingpro.cnblogs.comContact: kingpro@live.cn
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
posted on
浙公网安备 33010602011771号