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 erics at 2005-07-23 15:20:26 on Problem 1005
In Reply To:请大家帮看看我这人怎么过不了啊,郁闷!! Posted by:zerotext at 2005-05-13 13:55:14
> #include<stdio.h>
> #include<math.h>
> main()
> {int n,j,i,;
>  float r,a,b,temp;
>  scanf("%d",&n);
>  for(i=1;i<=n;)
>  {while(scanf("%f%f",&a,&b)==2)
>   {if(a>b)
>    temp=a;
>    else
>    temp=b;好象少了r=0;
>    for(j=1;r<temp;j++)
>    r=sqrt(50*j*2/3.1415);
>    printf("Property %d: This property will begin eroding in year %d.\n",i,j-1);
>    i++;
>    break;
>    }
>  }
>  printf("END OF OUTPUT.");
> }

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