Pagini recente » Borderou de evaluare (job #162343) | Borderou de evaluare (job #2559846) | Borderou de evaluare (job #1712067) | Borderou de evaluare (job #3132633) | Borderou de evaluare (job #2124821)
Borderou de evaluare (job #2124821)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fgets( s[N] + 1, 128, stdin );
^
user.cpp:16:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
L[i] = strlen( s[i] + 1 ) - 1;
^
user.cpp:16:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
L[i] = strlen( s[i] + 1 ) - 1;
^
user.cpp:20:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( ii = 1; ii <= L[i]; ii++ )
^
user.cpp:21:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( jj = 1; jj <= L[j]; jj++ )
^
user.cpp:22:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( s[i][ii] == s[j][jj] )
^
user.cpp:22:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( s[i][ii] == s[j][jj] )
^
user.cpp:22:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( s[i][ii] == s[j][jj] )
^
user.cpp:22:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( s[i][ii] == s[j][jj] )
^
user.cpp:23:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[ii][jj] = A[ii - 1][jj - 1] + 1;
^
user.cpp:23:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[ii][jj] = A[ii - 1][jj - 1] + 1;
^
user.cpp:25:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[ii][jj] = max( A[ii][jj - 1], A[ii - 1][jj] );
^
user.cpp:25:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[ii][jj] = max( A[ii][jj - 1], A[ii - 1][jj] );
^
user.cpp:25:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[ii][jj] = max( A[ii][jj - 1], A[ii - 1][jj] );
^
user.cpp:25:69: warning: array subscript has type ‘char’ [-Wchar-subscripts]
A[ii][jj] = max( A[ii][jj - 1], A[ii - 1][jj] );
^
user.cpp:26:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
D[i][j] = A[ L[i] ][ L[j] ];
^
user.cpp:26:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 936kb | OK | 10 | 20 |
2 | 0ms | 756kb | OK | 10 |
3 | 0ms | 880kb | OK | 10 | 40 |
4 | 0ms | 796kb | OK | 10 |
5 | 4ms | 808kb | OK | 10 |
6 | 4ms | 800kb | OK | 10 |
7 | 4ms | 800kb | OK | 10 | 40 |
8 | 44ms | 860kb | OK | 10 |
9 | 28ms | 860kb | OK | 10 |
10 | 0ms | 868kb | OK | 10 |
Punctaj total | 100 |