Borderou de evaluare (job #620660)
Utilizator | Data | 16 octombrie 2011 15:26:21 | |
---|---|---|---|
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:11: warning: unused variable ‘i’
user.cpp:12: warning: unused variable ‘w’
user.cpp:12: warning: unused variable ‘p’
user.cpp: In function ‘void cautare_jos(int, int)’:
user.cpp:31: warning: unused variable ‘i’
user.cpp:32: warning: unused variable ‘w’
user.cpp:32: warning: unused variable ‘p’
user.cpp: In function ‘void cautare_st(int, int)’:
user.cpp:51: warning: unused variable ‘i’
user.cpp:52: warning: unused variable ‘w’
user.cpp:52: warning: unused variable ‘p’
user.cpp: In function ‘void cautare_dr(int, int)’:
user.cpp:71: warning: unused variable ‘i’
user.cpp:72: warning: unused variable ‘w’
user.cpp:72: warning: unused variable ‘p’
user.cpp: In function ‘int main()’:
user.cpp:100: 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:100: 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:101: 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:101: 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:101: 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: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:105: error: call of overloaded ‘abs(int)’ is ambiguous
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !