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

为什么是 6*v 而不是 4*v ?

Posted by htzhuang at 2006-10-27 12:12:28 on Problem 2405
In Reply To:Re:为什么我的程式老是wrong answer?想不明白啊 Posted by:pluton at 2006-04-09 22:11:15
> #include<stdio.h>
> #include<math.h>
> main()
> {
>  double D,d,v;
>  while(scanf("%lf%lf",&D,&v)&&(D||v))
>  {
>  d=pow((D*D*D-(6*v/3.1415926535)),1.0000000/3);     //不是4*v?
>  printf("%.3lf\n",d);
>  }
> }

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