Borderou de evaluare (job #2859828)

Utilizator cyg_dragos10Ivan Dragos cyg_dragos10 Data 1 martie 2022 23:37:53
Problema Acces Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:69:21: error: 'dp' was not declared in this scope 69 | dp[i][j] = dp[i-1][j] + dp[i][j-1] - | ^~ main.cpp:74:21: error: 'dp' was not declared in this scope 74 | dp[i][j] = dp[i-1][j] + dp[i][j-1] - dp[i-1][j-1] + 1; | ^~ main.cpp:76:22: error: 'dp' was not declared in this scope 76 | else dp[i][j] = dp[i-1][j] + dp[i][j-1] + 1; | ^~ main.cpp:88:16: error: 'dp' was not declared in this scope 88 | out << dp[x][y] << '\n'; | ^~ Non zero exit status: 1

Ceva nu functioneaza?