Borderou de evaluare (job #362691)
Utilizator | Data | 10 noiembrie 2009 18:26:30 | |
---|---|---|---|
Problema | Fear | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14: error: 'double fmin' redeclared as different kind of symbol
/usr/include/bits/mathcalls.h:342: error: previous declaration of 'double fmin(double, double)'
user.cpp: In function 'int BF()':
user.cpp:26: error: call of overloaded 'abs(double)' is ambiguous
/usr/include/stdlib.h:691: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:174: note: long long int __gnu_cxx::abs(long long int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
user.cpp: In function 'int main()':
user.cpp:50: error: call of overloaded 'abs(double)' is ambiguous
/usr/include/stdlib.h:691: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:174: note: long long int __gnu_cxx::abs(long long int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
user.cpp:53: error: assignment of function 'double fmin(double, double)'
user.cpp:53: error: cannot convert 'const double' to 'double ()(double, double)throw ()' in assignment
user.cpp:55: error: no matching function for call to 'min(double (&)(double, double)throw (), double)'
user.cpp:58: error: invalid operands of types 'double' and 'double ()(double, double)throw ()' to binary 'operator+'
user.cpp:58: error: in evaluation of 'operator+=(double, double ()(double, double)throw ())'
user.cpp:59: error: invalid operands of types 'double' and 'double ()(double, double)throw ()' to binary 'operator-'
user.cpp:59: error: in evaluation of 'operator-=(double, double ()(double, double)throw ())'
user.cpp:62: error: invalid operands of types 'double' and 'double ()(double, double)throw ()' to binary 'operator+'
user.cpp:62: error: in evaluation of 'operator+=(double, double ()(double, double)throw ())'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !