Borderou de evaluare (job #1624739)

Utilizator DysKodeTurturica Razvan DysKode Data 2 martie 2016 13:20:35
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 ] ] ] = max( 1 , C[ (i+1)%2 ][ cor[ s[ i ] ] ] ); ^ user.cpp:29:72: warning: array subscript has type ‘char’ [-Wchar-subscripts] C[ i%2 ][ cor[ s[ i ] ] ] = max( 1 , C[ (i+1)%2 ][ cor[ s[ i ] ] ] ); ^ 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( C[ i%2 ][ cor[ s[ i ] ] ] , D[ (i+1)%2 ][ j ] + 1 ); ^ user.cpp:31: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: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( D[ i%2 ][ cor[ s[ i ] ] ] , (C[ (i+1)%2 ][ j ] != 0 ? C[ (i+1)%2 ][ j ] + 1 : 0 ) ); ^ user.cpp:33: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 ] != 0 ? C[ (i+1)%2 ][ j ] + 1 : 0 ) ); ^ 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
10ms420kbOK10
20ms416kbIncorect0
30ms420kbOK10
40ms420kbIncorect0
50ms428kbOK10
64ms444kbOK10
728ms520kbIncorect0
8108ms764kbIncorect0
9156ms912kbOK10
10156ms904kbIncorect0
Punctaj total50

Ceva nu functioneaza?