Borderou de evaluare (job #1599953)

Utilizator RaresEGaySopterean Adrian RaresEGay Data 14 februarie 2016 15:56:22
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool Cmp(const Cuvinte&, const Cuvinte&)’: user.cpp:31:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(v[X.l[j]] < v[Y.l[j]]) ^ user.cpp:31:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(v[X.l[j]] < v[Y.l[j]]) ^ user.cpp:33:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(v[X.l[j]] > v[Y.l[j]]) ^ user.cpp:33:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(v[X.l[j]] > v[Y.l[j]]) ^ user.cpp: In function ‘void P2()’: user.cpp:50:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<strlen(S); ++i){ ^ user.cpp:51:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[S[i]] = i; ^ user.cpp: In function ‘int main()’: user.cpp:65:5: error: expected ‘}’ at end of input } ^ user.cpp: In function ‘bool Cmp(const Cuvinte&, const Cuvinte&)’: user.cpp:36:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?