Borderou de evaluare (job #1624703)

Utilizator DysKodeTurturica Razvan DysKode Data 2 martie 2016 13:05:02
Problema Palalila2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = max( C[ i%2 ][ cor[ s[ i ] ] ] , 1 ); ^ user.cpp:29:64: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = max( C[ i%2 ][ cor[ s[ i ] ] ] , 1 ); ^ user.cpp:30:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ i%2 ][ cor[ s[ i ] ] ] = max( D[ i%2 ][ cor[ s[ i ] ] ] , 1 ); ^ user.cpp:30:64: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ i%2 ][ cor[ s[ i ] ] ] = max( D[ i%2 ][ cor[ s[ i ] ] ] , 1 ); ^ user.cpp:31:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] for( j = 0 ; j < cor[ s[ i ] ] ; j++ ) ^ user.cpp:32:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = max( C[ i%2 ][ cor[ s[ i ] ] ] , D[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:32:68: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = max( C[ i%2 ][ cor[ s[ i ] ] ] , D[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:33:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] for( j = cor[ s[ i ] ] + 1 ; j < 52 ; j++ ) ^ user.cpp:34:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ i%2 ][ cor[ s[ i ] ] ] = max( D[ i%2 ][ cor[ s[ i ] ] ] , C[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:34:68: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ i%2 ][ cor[ s[ i ] ] ] = max( D[ i%2 ][ cor[ s[ i ] ] ] , C[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:36:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans = max( ans , D[ i%2 ][ cor[ s[ i ] ] ] ); ^ user.cpp:37:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans = max( ans , C[ i%2 ][ cor[ s[ i ] ] ] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbOK10
20ms424kbIncorect0
30ms424kbOK10
40ms416kbIncorect0
50ms428kbOK10
64ms440kbOK10
728ms516kbIncorect0
8108ms760kbIncorect0
9156ms912kbOK10
10156ms904kbIncorect0
Punctaj total50

Ceva nu functioneaza?