Borderou de evaluare (job #1681144)

Utilizator razvanlgu31Razvan Lungu razvanlgu31 Data 9 aprilie 2016 11:52:38
Problema NN Status done
Runda Grigore Moisil 2016 Clasa a 10-a Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:22: error: ‘double y1’ redeclared as different kind of symbol double m,st,dr,x1,x2,y1,y2,a1,a2,b1,b2,nr1,nr2,ver,d[100100],x,y,p; ^ In file included from /usr/include/features.h:357:0, from /usr/include/i386-linux-gnu/c++/4.8/bits/os_defines.h:39, from /usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h:420, from /usr/include/c++/4.8/iosfwd:38, from /usr/include/c++/4.8/ios:38, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/fstream:38, from user.cpp:1: /usr/include/i386-linux-gnu/bits/mathcalls.h:243:1: error: previous declaration of ‘double y1(double)’ __MATHCALL (y1,, (_Mdouble_)); ^ user.cpp: In function ‘int main()’: user.cpp:31:15: error: assignment of function ‘double y1(double)’ y1=b1; ^ user.cpp:31:15: error: cannot convert ‘double’ to ‘double(double)throw ()’ in assignment user.cpp:38:15: error: assignment of function ‘double y1(double)’ y1=b2; ^ user.cpp:38:15: error: cannot convert ‘double’ to ‘double(double)throw ()’ in assignment user.cpp:49:19: error: invalid operands of types ‘double’ and ‘double(double)throw ()’ to binary ‘operator==’ if(p==y1) ^ user.cpp:56:22: error: invalid operands of types ‘double’ and ‘double(double)throw ()’ to binary ‘operator<’ if(p<y1) ^

Ceva nu functioneaza?