Borderou de evaluare (job #1944570)

Utilizator CNFBTeamCNFB Udristoiu Linca Dicu CNFBTeam Data 29 martie 2017 10:19:13
Problema Rgb Status done
Runda AGM 2017 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( cnt[str[0]] < cnt[str[1]] ) ^ user.cpp:28:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( cnt[str[0]] < cnt[str[1]] ) ^ user.cpp:30:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( cnt[str[0]] < cnt[str[2]] ) ^ user.cpp:30:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( cnt[str[0]] < cnt[str[2]] ) ^ user.cpp:32:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( cnt[str[1]] < cnt[str[2]] ) ^ user.cpp:32:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( cnt[str[1]] < cnt[str[2]] ) ^ user.cpp:35:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] for( int i = 0, j = 1; cnt[str[i]] > 0; i = ( i + 1 ) % 3, j ++ ) { ^ user.cpp:43:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] cnt[str[i]] --; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbIncorect0
Punctaj total0

Ceva nu functioneaza?