Borderou de evaluare (job #1648302)

Utilizator DysKodeTurturica Razvan DysKode Data 11 martie 2016 09:22:37
Problema Palalila2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ 0 ][ cor[ s[ i ] ] ] = max( D[ 0 ][ cor[ s[ i ] ] ] , 1 ); ^ user.cpp:24:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ 0 ][ cor[ s[ i ] ] ] = max( D[ 0 ][ cor[ s[ i ] ] ] , 1 ); ^ user.cpp:25:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] for( j = 0 ; j < cor[ s[ i ] ] ; j++ ) ^ user.cpp:27:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ 0 ][ cor[ s[ i ] ] ] = max( C[ 0 ][ cor[ s[ i ] ] ] , D[ 0 ][ j ] + 1 ); ^ user.cpp:27:68: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ 0 ][ cor[ s[ i ] ] ] = max( C[ 0 ][ cor[ s[ i ] ] ] , D[ 0 ][ j ] + 1 ); ^ user.cpp:28:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] for( j = cor[ s[ i ] ] + 1 ; j < 52 ; j++ ) ^ user.cpp:29:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ 0 ][ cor[ s[ i ] ] ] = max( D[ 0 ][ cor[ s[ i ] ] ] , C[ 0 ][ j ] + 1 ); ^ user.cpp:29:64: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ 0 ][ cor[ s[ i ] ] ] = max( D[ 0 ][ cor[ s[ i ] ] ] , C[ 0 ][ j ] + 1 ); ^ user.cpp:30:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans = max( ans , D[ 0 ][ cor[ s[ i ] ] ] ); ^ user.cpp:31: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
10ms420kbOK10
20ms412kbOK10
30ms416kbOK10
40ms420kbOK10
50ms424kbOK10
64ms432kbOK10
720ms512kbOK10
872ms760kbOK10
9104ms900kbOK10
10104ms900kbOK10
Punctaj total100

Ceva nu functioneaza?