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 lithum at 2009-08-12 15:36:35 on Problem 2405
In Reply To:最烦是贴代码!要贴去你家贴 你依贴这个题目就废了知道不??? Posted by:ecjtuQX at 2008-08-27 16:46:36
#include<iostream>
#include<cmath>
using namespace std;

const double PI=3.1415926536;

int main()
{
	double D,V;
	double d;
	while(cin>>D>>V && (D||V))
	{
		d=pow(pow(D,3)-6*V/PI,1.0/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