Pagini recente » Borderou de evaluare (job #3210570) | Borderou de evaluare (job #1834738) | Borderou de evaluare (job #342616) | Borderou de evaluare (job #518860) | Borderou de evaluare (job #1624739)
Borderou de evaluare (job #1624739)
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 |
| 1 | 0ms | 420kb | OK | 10 |
| 2 | 0ms | 416kb | Incorect | 0 |
| 3 | 0ms | 420kb | OK | 10 |
| 4 | 0ms | 420kb | Incorect | 0 |
| 5 | 0ms | 428kb | OK | 10 |
| 6 | 4ms | 444kb | OK | 10 |
| 7 | 28ms | 520kb | Incorect | 0 |
| 8 | 108ms | 764kb | Incorect | 0 |
| 9 | 156ms | 912kb | OK | 10 |
| 10 | 156ms | 904kb | Incorect | 0 |
| Punctaj total | 50 |