Borderou de evaluare (job #1745644)

Utilizator narcios_neculaNarcis Necula narcios_necula Data 22 august 2016 13:32:03
Problema Peluza Sud 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:12:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[s[0]] = 1; ^ user.cpp:21:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(c[s[j]] == 0) ^ user.cpp:22:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] ++c[s[j]], ++nr; ^ user.cpp:24:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] ++c[s[j]]; ^ user.cpp:34:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] --c[s[i]]; ^ user.cpp:35:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(c[s[i]] == 0) ^ user.cpp:46:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(c[s[j]] == 0) ^ user.cpp:47:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] ++c[s[j]], ++nr; ^ user.cpp:49:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] ++c[s[j]]; ^ user.cpp:54:20: error: expected primary-expression before ‘/’ token c1 = i;/ ^ user.cpp:59:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] --c[s[i]]; ^ user.cpp:60:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(c[s[i]] == 0) ^

Ceva nu functioneaza?