Borderou de evaluare (job #739371)

Utilizator GrimpowRadu Andrei Grimpow Data 22 aprilie 2012 20:45:49
Problema Zeap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void update(nod*&)’: user.cpp:32: error: call of overloaded ‘abs(int)’ is ambiguous /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double) user.cpp:32: error: call of overloaded ‘abs(int)’ is ambiguous /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double) user.cpp: In function ‘void insereaza(nod*&, int)’: user.cpp:62: error: ‘rand’ was not declared in this scope user.cpp: In function ‘void cit()’: user.cpp:116: warning: unused variable ‘i’ user.cpp: In function ‘int main()’: user.cpp:152: error: ‘srand’ was not declared in this scope

Ceva nu functioneaza?