Borderou de evaluare (job #961922)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 13 iunie 2013 10:30:58
Problema Biscuiti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:13:30: error: ‘int y1’ redeclared as different kind of symbol int n , a , SUM , Ans , x1 , y1; ^ In file included from /usr/include/features.h:346:0, from /usr/include/stdio.h:28, from user.cpp:1: /usr/include/bits/mathcalls.h:242:1: error: previous declaration of ‘double y1(double)’ __MATHCALL (y1,, (_Mdouble_)); ^ user.cpp: In function ‘void update2(int, int, int, int)’: user.cpp:35:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(st >= x1 && dr <= y1) ^ user.cpp:51:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(med < y1) ^ user.cpp: In function ‘int main()’: user.cpp:81:12: error: assignment of function ‘double y1(double)’ y1 = NOD.y; ^ user.cpp:81:12: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment

Ceva nu functioneaza?