Borderou de evaluare (job #734193)

Utilizator Stefex09Stefan Teodorescu Stefex09 Data 13 aprilie 2012 19:59:59
Problema Elicop Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int triunghicu1(int)’: user.cpp:22: warning: suggest explicit braces to avoid ambiguous ‘else’ user.cpp:40: warning: suggest explicit braces to avoid ambiguous ‘else’ user.cpp: In function ‘int main()’: user.cpp:84: 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)

Ceva nu functioneaza?