| ||||||||||
| 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 | |||||||||
help!#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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator