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 |
帮看一下:我的precentatiao哪里有问题#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