Borderou de evaluare (job #1178191)

Utilizator beer_teamUBB - Cociorva - Popoveniuc beer_team Data 26 aprilie 2014 14:37:54
Problema Cercuri5 Status done
Runda ONIS 2014, Runda 4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:22:47: error: ‘double gamma’ redeclared as different kind of symbol double m,R,x11,x22,y11,y22,x00,y00,alpha,beta,gamma,delta,p,q,r,xm,ym; ^ In file included from /usr/include/features.h:346:0, from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/os_defines.h:39, from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/c++config.h:420, from /usr/local/include/c++/4.8.0/cstdio:41, from user.cpp:1: /usr/include/bits/mathcalls.h:265:1: error: previous declaration of ‘double gamma(double)’ __MATHCALL (gamma,, (_Mdouble_)); ^ user.cpp: In function ‘int main()’: user.cpp:47:22: error: assignment of function ‘double gamma(double)’ gamma=R*R-x11*x11-y11*y11-p*p+xm*xm+ym*ym; ^ user.cpp:47:22: error: cannot convert ‘double’ to ‘double(double)throw ()’ in assignment user.cpp:50:27: error: invalid operands of types ‘double’ and ‘double(double)throw ()’ to binary ‘operator*’ q=-2*beta*gamma+2*x11*alpha*beta+2*y11*alpha*beta; ^ user.cpp:51:53: error: invalid operands of types ‘double(double)throw ()’ and ‘double(double)throw ()’ to binary ‘operator*’ r=alpha*(x11*x11+y11*y11-R*R)+gamma*gamma-2*x11*gamma*alpha-2*y11*alpha*gamma; ^ user.cpp:51:65: error: invalid operands of types ‘double’ and ‘double(double)throw ()’ to binary ‘operator*’ r=alpha*(x11*x11+y11*y11-R*R)+gamma*gamma-2*x11*gamma*alpha-2*y11*alpha*gamma; ^ user.cpp:51:89: error: invalid operands of types ‘double’ and ‘double(double)throw ()’ to binary ‘operator*’ r=alpha*(x11*x11+y11*y11-R*R)+gamma*gamma-2*x11*gamma*alpha-2*y11*alpha*gamma; ^ user.cpp:55:33: error: invalid operands of types ‘double(double)throw ()’ and ‘double’ to binary ‘operator-’ x00=(gamma-beta*y00)/alpha; ^ user.cpp:58:33: error: invalid operands of types ‘double(double)throw ()’ and ‘double’ to binary ‘operator-’ x00=(gamma-beta*y00)/alpha; ^

Ceva nu functioneaza?