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:help!

Posted by 90405106 at 2004-11-04 10:48:52 on Problem 1005
In Reply To:help! Posted by:90301118 at 2003-11-19 09:02:42
> #include "stdio.h"
> #include "math.h"
>  void main()
> { float x,y;
>   int year,N,n;
>  scanf("%d",&N);
>  for(n=1;n<=N;n++)
>  {scanf("%f%f",&x,&y);
>    year=(int)ceil((x*x+y*y)*3.1415927/2/50);
>  printf("Property %d: This property will begin enroding in year %d.\n",n,year);
>  }
>  printf("END OF OUTPUT.\n");
>  }
> 
> 
> why cant i pass?

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