Borderou de evaluare (job #725420)

Utilizator feelshiftFeelshift feelshift Data 26 martie 2012 20:45:00
Problema Shift Status done
Runda Infoarena Monthly 2012 - Runda 3 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:30: warning: array subscript has type ‘char’ user.cpp:33: warning: array subscript has type ‘char’ user.cpp:42: warning: array subscript has type ‘char’ user.cpp:42: warning: comparison between signed and unsigned integer expressions user.cpp:43: warning: array subscript has type ‘char’ user.cpp:43: warning: array subscript has type ‘char’ user.cpp:44: warning: array subscript has type ‘char’ user.cpp:44: 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) user.cpp:44: warning: array subscript has type ‘char’ user.cpp:45: warning: array subscript has type ‘char’

Ceva nu functioneaza?