Borderou de evaluare (job #2965157)

Utilizator YusyBossFares Yusuf YusyBoss Data 14 ianuarie 2023 15:51:37
Problema Sum Max Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void bfs(int)': main.cpp:29:57: error: 'mat' was not declared in this scope 29 | if (crtlin != crtcol && dpsum[crtlin - 1][crtcol] + mat[crtlin][crtcol] == dpsum[crtlin][crtcol]) { | ^~~ main.cpp:36:56: error: 'mat' was not declared in this scope 36 | if (crtcol != 1 && dpsum[crtlin - 1][crtcol - 1] + mat[crtlin][crtcol] == dpsum[crtlin][crtcol]) { | ^~~ main.cpp: In function 'int main()': main.cpp:73:17: error: 'mat' was not declared in this scope 73 | dpsum[1][1] = mat[1][1]; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?