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

怎么wrong answer了!!

Posted by erics at 2005-07-23 15:36:39 on Problem 1005
#include <stdio.h>
#include <math.h>
void main()
{
	int i=1,j,N;
	double x,y,r=0.00,temp;
	scanf("%d",&N);
	for(i=1;i<=N;i++)
	{
		r=0.00;
		scanf("%lf%lf",&x,&y);
		temp=sqrt(x*x+y*y);
		for(j=1;r<temp;j++)
			r=sqrt(100*j/3.14159);
		printf("Property %d: This property will begin eroding in year %d\n",i,j-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