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

一直WA,求测试数据

Posted by Skies at 2009-06-14 21:46:30 on Problem 2405
#include <math.h>
#include <stdio.h>

int main()
{
	double D,d,V;

	while(1)
	{
		scanf("%lf%lf",&D,&V);
		if(D==V) break;
		d=pow(D*D*D-6*V/acos(-1.0),1/3);
		printf("%.3lf\n",d);
	}
	return 0;
}

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