Borderou de evaluare (job #620572)

Utilizator mada_diaconuMada Diaconu mada_diaconu Data 16 octombrie 2011 15:01:04
Problema Pescari Status done
Runda Selecție Girls Programming Camp 2011 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void cautare_sus(int, int)’: user.cpp:10: warning: unused variable ‘i’ user.cpp:11: warning: unused variable ‘w’ user.cpp:11: warning: unused variable ‘p’ user.cpp: In function ‘void cautare_jos(int, int)’: user.cpp:30: warning: unused variable ‘i’ user.cpp:31: warning: unused variable ‘w’ user.cpp:31: warning: unused variable ‘p’ user.cpp: In function ‘void cautare_st(int, int)’: user.cpp:50: warning: unused variable ‘i’ user.cpp:51: warning: unused variable ‘w’ user.cpp:51: warning: unused variable ‘p’ user.cpp: In function ‘void cautare_dr(int, int)’: user.cpp:70: warning: unused variable ‘i’ user.cpp:71: warning: unused variable ‘w’ user.cpp:71: warning: unused variable ‘p’ user.cpp: In function ‘int main()’: user.cpp:102: 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:102: 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:103: 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:103: 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:104: 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:104: 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:105: 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:105: 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)

Ceva nu functioneaza?