Pagini recente » Borderou de evaluare (job #2984404) | Borderou de evaluare (job #2709207) | Borderou de evaluare (job #2009419) | Borderou de evaluare (job #1173693) | Borderou de evaluare (job #2953944)
Borderou de evaluare (job #2953944)
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 | 0ms | 184kb | Incorect | 0 |
8 | 0ms | 184kb | Incorect | 0 |
9 | 0ms | 184kb | Incorect | 0 |
10 | 0ms | 184kb | Incorect | 0 |
Punctaj total | 10 |