Pagini recente » Borderou de evaluare (job #1228562) | Borderou de evaluare (job #2661209) | Borderou de evaluare (job #491766) | Borderou de evaluare (job #285417) | Borderou de evaluare (job #2953940)
Borderou de evaluare (job #2953940)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:13: warning: unused variable 'aux' [-Wunused-variable]
34 | int aux = dp[0][j];
| ^~~
main.cpp:20:84: warning: array subscript 2 is above array bounds of 'int [2][5005]' [-Warray-bounds]
20 | dp[0][2] = max(mat[0][1] + mat[0][2], mat[0][1] + mat[1][1] + mat[1][2] + mat[2][2]);
| ~~~~~^
main.cpp:8:18: note: while referencing 'mat'
8 | int dp[2][nmax], mat[2][nmax];
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 184kb | OK | 10 |
| 2 | 0ms | 184kb | Incorect | 0 |
| 3 | 0ms | 184kb | Incorect | 0 |
| 4 | 0ms | 184kb | Incorect | 0 |
| 5 | 0ms | 184kb | Incorect | 0 |
| 6 | 0ms | 184kb | Incorect | 0 |
| 7 | 11ms | 315kb | Incorect | 0 |
| 8 | 19ms | 315kb | Incorect | 0 |
| 9 | 30ms | 315kb | Incorect | 0 |
| 10 | 43ms | 315kb | Incorect | 0 |
| Punctaj total | 10 |