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

Re:其实不理解题意,感觉自己好弱

Posted by zhuofai at 2018-03-02 20:39:33 on Problem 1005
In Reply To:其实不理解题意,感觉自己好弱 Posted by:mkxmkx at 2017-03-21 21:25:41
> #include <iostream>
> 
> using namespace std;
> 
> int main()
> {
> 	int n,i;
> 	cin>>n;
> 	float x,y;
> 	int sem;
> 	i=1;
> 	while(i<=n)
> 	{
> 		
> 		cin>>x>>y;
> 		sem=(3.14/2.0)*(x*x+y*y)/50;
> 		cout<<"Property "<<i<<": This property will begin eroding in year "<<sem+1<<"."<<endl;
> 
> 		i++;
> 	}
> 	cout<<"END OF OUTPUT."<<endl;
> }

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