| ||||||||||
Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
顶楼主!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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator