Pagini recente » Borderou de evaluare (job #363124) | Borderou de evaluare (job #488281) | Borderou de evaluare (job #1500740) | Borderou de evaluare (job #1021133) | Borderou de evaluare (job #1624727)
Borderou de evaluare (job #1624727)
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 ] ] ] = 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 ] != 0 ? C[ (i+1)%2 ][ j ] + 1 : 0 ) );
^
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 ] != 0 ? C[ (i+1)%2 ][ j ] + 1 : 0 ) );
^
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 ] != 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 |
1 | 0ms | 412kb | OK | 10 |
2 | 0ms | 416kb | Incorect | 0 |
3 | 0ms | 412kb | OK | 10 |
4 | 0ms | 416kb | Incorect | 0 |
5 | 0ms | 424kb | OK | 10 |
6 | 8ms | 440kb | OK | 10 |
7 | 56ms | 512kb | Incorect | 0 |
8 | 196ms | 760kb | Incorect | 0 |
9 | 284ms | 904kb | OK | 10 |
10 | 284ms | 900kb | Incorect | 0 |
Punctaj total | 50 |