F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_13408556_15404.cpp: In function 'int main()':
0_0_13408556_15404.cpp:7:31: error: too few arguments to function 'double pow(double, double)'
      s=((a+b+c)+sqrt(pow(a+b+c),2)-3*a*b-3*a*c-3*b*c-3*(e*e+d*d+f*f)/4));
                               ^
In file included from 0_0_13408556_15404.cpp:2:0:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:151:18: note: declared here
   double __cdecl pow(double _X,double _Y);
                  ^
0_0_13408556_15404.cpp:8:18: error: expected ';' before 's'
   n=s*s*s-(a+b+c)s*s+(a*c+a*c+b*c-e*e/4-d*d/4-f*f/4)*s-a*b*c-(e*e*b+a*a*d*d+c*f*f)/4;
                  ^
0_0_13408556_15404.cpp:3:13: error: 'le' was not declared in this scope
 #define eps le-9
             ^
0_0_13408556_15404.cpp:13:20: note: in expansion of macro 'eps'
    while(fabs(m-s)>eps){
                    ^
0_0_13408556_15404.cpp:14:20: error: expected ';' before 's'
     p=s*s*s-(a+b+c)s*s+(a*c+a*c+b*c-e*e/4-d*d/4-f*f/4)*s-a*b*c-(e*e*b+a*a*d*d+c*f*f)/4;
                    ^
0_0_13408556_15404.cpp:15:20: error: expected ';' before 'm'
     q=m*m*m-(a+b+c)m*m+(a*c+a*c+b*c-e*e/4-d*d/4-f*f/4)*m-a*b*c-(e*e*b+a*a*d*d+c*f*f)/4;
                    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-18 00:29:55, Gzip enabled