Pagini recente » Borderou de evaluare (job #125606) | Borderou de evaluare (job #1963469) | Borderou de evaluare (job #2368048) | Borderou de evaluare (job #2953406) | Borderou de evaluare (job #1624676)
Borderou de evaluare (job #1624676)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( j = 0 ; j < cor[ s[ i ] ] ; j++ )
^
user.cpp:30: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:30: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:30: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:31:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( j = cor[ s[ i ] ] + 1 ; j < 52 ; j++ )
^
user.cpp:32: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:32: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:32: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:34:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans = max( ans , D[ i%2 ][ cor[ s[ i ] ] ] );
^
user.cpp:35: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 | 420kb | OK | 10 |
4 | 0ms | 412kb | Incorect | 0 |
5 | 0ms | 428kb | OK | 10 |
6 | 8ms | 436kb | OK | 10 |
7 | 52ms | 516kb | Incorect | 0 |
8 | 196ms | 760kb | Incorect | 0 |
9 | 284ms | 904kb | OK | 10 |
10 | 280ms | 900kb | Incorect | 0 |
Punctaj total | 50 |