Borderou de evaluare (job #1057684)

Utilizator stef93Stefan Gilca stef93 Data 14 decembrie 2013 18:41:13
Problema Ordine Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:17:16: error: ‘strlen’ was not declared in this scope n = strlen(sir); ^ user.cpp:20:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[sir[i]]++; ^ user.cpp:27:10: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(a[j] == (n - i + 1)/2 + 1) ^ user.cpp:36:10: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(a[j] != 0 && j != cant) ^ user.cpp:44:6: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[c] --; ^

Ceva nu functioneaza?