| ||||||||||
| 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 | |||||||||
Re:我的怎么老有一个"Presentation Error"错误啊 大家帮帮我啊 搞了一天都不知道错在那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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator