Borderou de evaluare (job #1624693)

Utilizator DysKodeTurturica Razvan DysKode Data 2 martie 2016 13:02:16
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 ] ] ] = 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
10ms412kbOK10
20ms416kbIncorect0
30ms420kbOK10
40ms412kbIncorect0
50ms420kbOK10
68ms432kbOK10
756ms520kbIncorect0
8196ms760kbIncorect0
9280ms904kbOK10
10280ms900kbIncorect0
Punctaj total50

Ceva nu functioneaza?