Borderou de evaluare (job #29094)
Utilizator | Data | 8 martie 2007 17:04:06 | |
---|---|---|---|
Problema | Copaci | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:41:2: warning: no newline at end of file
user.cpp: In function 'int main()':
user.cpp:36: error: 'labs' was not declared in this scope
user.cpp:38: error: call of overloaded 'abs(long int)' is ambiguous
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cmath:89: note: candidates are: double std::abs(double)
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cmath:93: note: float std::abs(float)
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cmath:97: note: long double std::abs(long double)
user.cpp:38: error: call of overloaded 'abs(long int)' is ambiguous
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cmath:89: note: candidates are: double std::abs(double)
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cmath:93: note: float std::abs(float)
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cmath:97: note: long double std::abs(long double)
user.cpp:39: warning: format '%ld' expects type 'long int', but argument 2 has type 'long long int'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !