| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
求各位帮帮忙!#include<iostream.h>
int main()
{
double a,b;
int t,times=1;
cin>>t;
while(t--)
{
cin>>a>>b;
cout<<"Property "<<times++<<": This property will begin eroding in year "
<<(int)(3.14159265*(a*a+b*b)/100)+1<<"."<<endl;
}
cout<<"END OF OUTPUT"<<endl;
return 0;
}
哪错了,谢谢了,我是新手!谢谢
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator