Borderou de evaluare (job #1624752)

Utilizator DysKodeTurturica Razvan DysKode Data 2 martie 2016 13:25:16
Problema Palalila2 Status done
Runda preoji_4 Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ 0 ][ cor[ s[ i ] ] ] = max( C[ 0 ][ cor[ s[ i ] ] ] , 1 ); ^ user.cpp:29:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ 0 ][ cor[ s[ i ] ] ] = max( C[ 0 ][ cor[ s[ i ] ] ] , 1 ); ^ user.cpp:30:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] for( j = 0 ; j < cor[ s[ i ] ] ; j++ ) ^ user.cpp:31:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ 0 ][ cor[ s[ i ] ] ] = max( C[ 0 ][ cor[ s[ i ] ] ] , D[ 1 ][ j ] + 1 ); ^ user.cpp:31:64: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ 0 ][ cor[ s[ i ] ] ] = max( C[ 0 ][ cor[ s[ i ] ] ] , D[ 1 ][ j ] + 1 ); ^ user.cpp:32:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] for( j = cor[ s[ i ] ] + 1 ; j < 52 ; j++ ) ^ user.cpp:34:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ 0 ][ cor[ s[ i ] ] ] = max( D[ 0 ][ cor[ s[ i ] ] ] , C[ 1 ][ j ] + 1 ); ^ user.cpp:34:68: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ 0 ][ cor[ s[ i ] ] ] = max( D[ 0 ][ cor[ s[ i ] ] ] , C[ 1 ][ j ] + 1 ); ^ user.cpp:35:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans = max( ans , D[ 0 ][ cor[ s[ i ] ] ] ); ^ user.cpp:36:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans = max( ans , C[ 0 ][ cor[ s[ i ] ] ] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbOK10
20ms412kbIncorect0
30ms412kbOK10
40ms416kbIncorect0
50ms428kbOK10
64ms432kbOK10
728ms512kbIncorect0
8112ms756kbIncorect0
9160ms900kbOK10
10156ms904kbIncorect0
Punctaj total50

Ceva nu functioneaza?