Borderou de evaluare (job #3272847)

Utilizator mihiboiBacis Mihai-Cristian mihiboi Data 31 ianuarie 2025 10:25:48
Problema ZParcurgere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void rec(int, int, int, int, int, int, int, int)': main.cpp:13:55: error: 'g' was not declared in this scope 13 | rec(xs, ys, xmid, ymid, L / 2, val, x, y, g); | ^ main.cpp:16:79: error: 'g' was not declared in this scope 16 | rec(xs, ymid + 1, xmid, yj, L / 2, val + (L / 2) * (L / 2), x, y, g); | ^ main.cpp:19:85: error: 'g' was not declared in this scope 19 | rec(xmid + 1, ys, xj, ymid, L / 2, val + 2 * ((L / 2) * (L / 2)), x, y, g); | ^ main.cpp:22:89: error: 'g' was not declared in this scope 22 | rec(xmid + 1, ymid + 1, xj, yj, L / 2, val + 3 * ((L / 2) * (L / 2)), x, y, g); | ^ main.cpp: In function 'int main()': main.cpp:35:37: error: 'g' was not declared in this scope 35 | rec(1, 1, L, L, L, 1, x, y, g); | ^ Non zero exit status: 1

Ceva nu functioneaza?