Borderou de evaluare (job #588405)
Utilizator | Data | 7 mai 2011 21:16:28 | |
---|---|---|---|
Problema | Jocul Flip | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function 'int main()':
user.cpp:21: error: call of overloaded 'abs(int&)' is ambiguous
/usr/include/c++/4.2/cmath:89: note: candidates are: double std::abs(double)
/usr/include/c++/4.2/cmath:93: note: float std::abs(float)
/usr/include/c++/4.2/cmath:97: note: long double std::abs(long double)
user.cpp:39: error: call of overloaded 'abs(int&)' is ambiguous
/usr/include/c++/4.2/cmath:89: note: candidates are: double std::abs(double)
/usr/include/c++/4.2/cmath:93: note: float std::abs(float)
/usr/include/c++/4.2/cmath:97: note: long double std::abs(long double)
user.cpp:58: error: call of overloaded 'abs(int&)' is ambiguous
/usr/include/c++/4.2/cmath:89: note: candidates are: double std::abs(double)
/usr/include/c++/4.2/cmath:93: note: float std::abs(float)
/usr/include/c++/4.2/cmath:97: note: long double std::abs(long double)
user.cpp:76: error: call of overloaded 'abs(int&)' is ambiguous
/usr/include/c++/4.2/cmath:89: note: candidates are: double std::abs(double)
/usr/include/c++/4.2/cmath:93: note: float std::abs(float)
/usr/include/c++/4.2/cmath:97: note: long double std::abs(long double)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !