Borderou de evaluare (job #1112633)

Utilizator RaduDoStochitoiu Radu RaduDo Data 19 februarie 2014 21:49:48
Problema Palindroame Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(ch='a'; ch<='z'; ++ch) ap[ch]=0; k=0; ^ user.cpp:16:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(i=0; i<l; ++i) ++ap[s[i]]; ^ user.cpp:17:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(ch='a'; ch<='z'; ++ch) if(ap[ch]%2) ++k; ^ user.cpp:24:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(!(ap[s[k]]%2)) ^ /tmp/ccUA4MsF.o: In function `main': user.cpp:(.text.startup+0x8b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms400kbIncorect0
Punctaj total0

Ceva nu functioneaza?