Pagini recente » Borderou de evaluare (job #726494) | Borderou de evaluare (job #1076311) | Borderou de evaluare (job #2933935) | Borderou de evaluare (job #2328468) | Borderou de evaluare (job #1624693)
Borderou de evaluare (job #1624693)
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 ] ] ] = D[ i%2 ][ cor[ s[ i ] ] ] = 1;
^
user.cpp:29:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
C[ i%2 ][ cor[ s[ i ] ] ] = D[ 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 ] + 1 );
^
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 ] + 1 );
^
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 ] + 1 );
^
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 | 420kb | OK | 10 |
4 | 0ms | 412kb | Incorect | 0 |
5 | 0ms | 420kb | OK | 10 |
6 | 8ms | 432kb | OK | 10 |
7 | 56ms | 520kb | Incorect | 0 |
8 | 196ms | 760kb | Incorect | 0 |
9 | 280ms | 904kb | OK | 10 |
10 | 280ms | 900kb | Incorect | 0 |
Punctaj total | 50 |