Borderou de evaluare (job #924059)

Utilizator superman_01Avramescu Cristian superman_01 Data 24 martie 2013 09:25:16
Problema Arbore3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read()’: user.cpp:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result user.cpp:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘int Search(int)’: user.cpp:33: 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:36: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘void Insert(int)’: user.cpp:46: 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 Delete(int)’: user.cpp:52: 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 DFS(int, int)’: user.cpp:76: warning: comparison between signed and unsigned integer expressions

Ceva nu functioneaza?