Borderou de evaluare (job #1908171)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:33:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (a[i] == b[j]) dp[i][j] = dp[i-1][j-1]+1;
^
user.c:33:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:33:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:33:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:34:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else dp[i][j] = max(dp[i-1][j], dp[i][j-1]);
^
user.c:34:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:34:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:34:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:22:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in", "r", stdin);
^
user.c:23:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out", "w", stdout);
^
user.c:28:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &m, &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Lungime incorecta! | 0 |
| 2 | 0ms | 284kb | Lungime incorecta! | 0 |
| 3 | 0ms | 284kb | Lungime incorecta! | 0 |
| 4 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 236kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |