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:我的怎么老有一个"Presentation Error"错误啊 大家帮帮我啊 搞了一天都不知道错在那

Posted by softmind at 2006-10-02 10:46:43 on Problem 1922
In Reply To:我的怎么老有一个"Presentation Error"错误啊 大家帮帮我啊 搞了一天都不知道错在那 Posted by:ykstars at 2005-03-29 13:34:29
> main()
> {
> double temp,a,c,b;
> int i,k=0,n,yy;
> double d[10000];
> 
> scanf("%d",&n);
> while(n){  k++;
> temp=0.0;
> for(i=0;i<n;i++){ scanf("%le%le",&a,&c);
>  if(c>=0.0&&a<=40.0&&a>0.0){ 
>      b=(16200/a)+c;
> 	 if(b<temp||temp==0.0)temp=b;
>                     } 
> 	        }
> yy=(int )ceil(temp);printf("%d\n",yy);
> scanf("%d",&n);
>     }
> i=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