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

帮帮忙啊,为什么通不过??

Posted by kitty at 2004-12-26 17:42:45 on Problem 1005
这是我的原码,运行挺好的,为什么交不上啊?
#include<stdio.h>
#include<math.h>
void  main(){
	int n,d,i;
    float x,y;
    double	pi=acos(-1.0);
	scanf("%d",&n);	
	
	for(i=1;i<=n;i++){
		scanf("%f %f",&x,&y);  
		d=(int)(pi*(x*x+y*y)/50/2);
		printf("Property %d: This property will begin eroding in year %d.\n",i,d+1);
		
		
	}
	printf("END OF OUTPUT\n");
}

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