Borderou de evaluare (job #1624683)

Utilizator DysKodeTurturica Razvan DysKode Data 2 martie 2016 12:59:04
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:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = D[ i%2 ][ cor[ s[ i ] ] ] = 1; ^ user.cpp:29:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = D[ i%2 ][ 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:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = max( max( C[ (i+1)%2 ][ cor[ s[ i ] ] ] , C[ i%2 ][ cor[ s[ i ] ] ] ) , D[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:31:77: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = max( max( C[ (i+1)%2 ][ cor[ s[ i ] ] ] , C[ i%2 ][ cor[ s[ i ] ] ] ) , D[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:31:105: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = max( max( C[ (i+1)%2 ][ cor[ s[ i ] ] ] , C[ i%2 ][ cor[ s[ i ] ] ] ) , D[ (i+1)%2 ][ 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:33:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ i%2 ][ cor[ s[ i ] ] ] = max( max( D[ (i+1)%2 ][ cor[ s[ i ] ] ] , D[ i%2 ][ cor[ s[ i ] ] ] ) , C[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:33:77: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ i%2 ][ cor[ s[ i ] ] ] = max( max( D[ (i+1)%2 ][ cor[ s[ i ] ] ] , D[ i%2 ][ cor[ s[ i ] ] ] ) , C[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:33:105: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[ i%2 ][ cor[ s[ i ] ] ] = max( max( D[ (i+1)%2 ][ cor[ s[ i ] ] ] , D[ i%2 ][ cor[ s[ i ] ] ] ) , C[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:35:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] ans = max( ans , D[ i%2 ][ cor[ s[ i ] ] ] ); ^ user.cpp:36: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
20ms412kbIncorect0
30ms416kbOK10
40ms416kbIncorect0
50ms428kbOK10
68ms432kbOK10
752ms516kbIncorect0
8196ms760kbIncorect0
9280ms900kbOK10
10280ms900kbIncorect0
Punctaj total50

Ceva nu functioneaza?