Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

求各位帮帮忙!

Posted by 7278891 at 2008-03-14 10:48:17 on Problem 1005
#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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator