Borderou de evaluare (job #772326)
Utilizator | Data | 29 iulie 2012 10:36:05 | |
---|---|---|---|
Problema | Triplet | 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:19: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:94: note: double std::abs(double)
user.cpp:19: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:94: note: double std::abs(double)
user.cpp:19: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:94: note: double std::abs(double)
user.cpp:20: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:94: note: double std::abs(double)
user.cpp:20: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:94: note: double std::abs(double)
user.cpp:20: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:94: note: double std::abs(double)
user.cpp:21: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:94: note: double std::abs(double)
user.cpp:21: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:94: note: double std::abs(double)
user.cpp:21: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
/usr/include/c++/4.4/cmath:94: note: double std::abs(double)
user.cpp:22: error: call of overloaded ‘abs(long int)’ is ambiguous
user.cpp:3: note: candidates are: int abs(int)
/usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
/usr/include/c++/4.4/cmath:98: note: float std::abs(float)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !