Borderou de evaluare (job #638161)
Utilizator | Data | 20 noiembrie 2011 19:15:20 | |
---|---|---|---|
Problema | Portal3 | Status | done |
Runda | .com 2011 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int dist(int, 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: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: In function ‘void bellman()’:
user.cpp:46: warning: comparison between signed and unsigned integer expressions
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !