Borderou de evaluare (job #702483)
Utilizator | Data | 1 martie 2012 22:04:37 | |
---|---|---|---|
Problema | Drumuri minime | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:41: warning: suggest parentheses around comparison in operand of ‘&’
user.cpp:42: warning: value computed is not used
user.cpp:58: 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:65: 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:57: warning: suggest explicit braces to avoid ambiguous ‘else’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !