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 |
兄弟你好象多输了个空行吧!In Reply To:帮看一下:我的precentatiao哪里有问题 Posted by:hangsailor at 2006-10-16 20:13:44 > #include<iostream> > > using namespace std; > > void main() > { > int a; > cin>>a; > cout<<endl; > for(int i=1;i<=a;i++) > { > float x,y; > cin>>x>>y; > int year=int(3.1415926*(x*x+y*y)/100)+1; > cout<<"Property "<<i<<": This property will begin eroding in year "<<year<<".\n"; > } > cout<<"END OF OUTPUT."<<endl; > } > > 我实在看不出来,新手…… Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator