Pagini recente » Borderou de evaluare (job #2817213) | Borderou de evaluare (job #3172291) | Borderou de evaluare (job #696507) | Borderou de evaluare (job #657995) | Borderou de evaluare (job #1308428)
Borderou de evaluare (job #1308428)
Raport evaluator
Compilare:
user.cpp: In function ‘int lscm(char*, char*)’:
user.cpp:23:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (A[0]==B[i])
^
user.cpp:24:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[0][i]=1;
^
user.cpp:26:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[0][i]=M[0][i-1];
^
user.cpp:28:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (A[i]==B[0])
^
user.cpp:29:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[i][0]=1;
^
user.cpp:31:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[i][0]=M[i-1][0];
^
user.cpp:34:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (A[i]==B[j])
^
user.cpp:34:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (A[i]==B[j])
^
user.cpp:35:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[i][j]=1+M[i-1][j-1];
^
user.cpp:35:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[i][j]=1+M[i-1][j-1];
^
user.cpp:37:8: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[i][j]=max(M[i-1][j],M[i][j-1]);
^
user.cpp:37:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[i][j]=max(M[i-1][j],M[i][j-1]);
^
user.cpp:37:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[i][j]=max(M[i-1][j],M[i][j-1]);
^
user.cpp:37:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
M[i][j]=max(M[i-1][j],M[i][j-1]);
^
user.cpp: In function ‘int main()’:
user.cpp:51:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
A[n][lung-1]=NULL;
^
user.cpp:49:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(A[n],102,fi);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 248kb | OK | 10 | 20 |
2 | 8ms | 244kb | OK | 10 |
3 | 4ms | 244kb | OK | 10 | 40 |
4 | 0ms | 244kb | OK | 10 |
5 | 28ms | 240kb | OK | 10 |
6 | 28ms | 248kb | OK | 10 |
7 | 12ms | 252kb | OK | 10 | 0 |
8 | Depăşit | 216kb | Time limit exceeded. | 0 |
9 | Depăşit | 224kb | Time limit exceeded. | 0 |
10 | 0ms | 236kb | OK | 10 |
Punctaj total | 60 |