Borderou de evaluare (job #700261)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | OZN (clasele 8-9) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 mar. 2023 10:57:35 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void fill(int, int, int, int, int)':
main.cpp:11:43: error: void value not ignored as it ought to be
11 | m2[l-1][c] += fill(l-1,c,a,m,n);
| ~~~~^~~~~~~~~~~~~
main.cpp:13:43: error: void value not ignored as it ought to be
13 | m2[l+1][c] += fill(l+1,c,a,m,n);
| ~~~~^~~~~~~~~~~~~
main.cpp:15:43: error: void value not ignored as it ought to be
15 | m2[l][c-1] += fill(l,c-1,a,m,n);
| ~~~~^~~~~~~~~~~~~
main.cpp:17:43: error: void value not ignored as it ought to be
17 | m2[l][c+1] += fill(l,c+1,a,m,n);
| ~~~~^~~~~~~~~~~~~