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:一次AC,0ms。也是水题。

Posted by kejie1235 at 2011-07-14 08:40:08 on Problem 1005
In Reply To:一次AC,0ms。也是水题。 Posted by:sigepluto at 2010-04-27 01:22:20
> #include<iostream>
> using namespace std;
> const float PI = 3.1415926;
> int main()
> {
> 	float x;float y;
> 	int n; cin>>n;int m = 1;
> 	while(m++ <= n)
> 	{
> 		cin>>x>>y;int i;
> 		for( i = 1; x*x+y*y > 100*i/PI; i++);
> 		cout<<"Property "<<m-1<<": This property will begin eroding in year "<<i<<"."<<endl;
> 	} 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