Pagini recente » Borderou de evaluare (job #98450) | Borderou de evaluare (job #429344) | Borderou de evaluare (job #2841563) | Borderou de evaluare (job #1595911) | Borderou de evaluare (job #1624703)
Borderou de evaluare (job #1624703)
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( C[ i%2 ][ cor[ s[ i ] ] ] , 1 );
^
user.cpp:29:64: warning: array subscript has type ‘char’ [-Wchar-subscripts]
C[ i%2 ][ cor[ s[ i ] ] ] = max( C[ i%2 ][ cor[ s[ i ] ] ] , 1 );
^
user.cpp:30:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
D[ i%2 ][ cor[ s[ i ] ] ] = max( D[ i%2 ][ cor[ s[ i ] ] ] , 1 );
^
user.cpp:30:64: warning: array subscript has type ‘char’ [-Wchar-subscripts]
D[ i%2 ][ cor[ s[ i ] ] ] = max( D[ i%2 ][ cor[ s[ i ] ] ] , 1 );
^
user.cpp:31:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( j = 0 ; j < cor[ s[ i ] ] ; j++ )
^
user.cpp:32: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:32: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:33:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( j = cor[ s[ i ] ] + 1 ; j < 52 ; j++ )
^
user.cpp:34: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 ] + 1 );
^
user.cpp:34: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 ] + 1 );
^
user.cpp:36:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans = max( ans , D[ i%2 ][ cor[ s[ i ] ] ] );
^
user.cpp:37: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 | 416kb | OK | 10 |
2 | 0ms | 424kb | Incorect | 0 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 416kb | Incorect | 0 |
5 | 0ms | 428kb | OK | 10 |
6 | 4ms | 440kb | OK | 10 |
7 | 28ms | 516kb | Incorect | 0 |
8 | 108ms | 760kb | Incorect | 0 |
9 | 156ms | 912kb | OK | 10 |
10 | 156ms | 904kb | Incorect | 0 |
Punctaj total | 50 |