Borderou de evaluare (job #2959024)
Utilizator | Data | 29 decembrie 2022 17:25:45 | |
---|---|---|---|
Problema | Suma4 | 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:54:18: error: 'lvl' was not declared in this scope
54 | for (int k = lvl - 1; k > 0; k--)
| ^~~
main.cpp:63:21: error: 'best' was not declared in this scope
63 | best[k][i][j] = { i, j };
| ^~~~
main.cpp:69:25: error: 'best' was not declared in this scope
69 | best[k][i][j] = { i, j + 1 };
| ^~~~
main.cpp:75:29: error: 'best' was not declared in this scope
75 | best[k][i][j] = { i + 1, j };
| ^~~~
main.cpp:79:29: error: 'best' was not declared in this scope
79 | best[k][i][j] = { i + 1, j + 1 };
| ^~~~
main.cpp:83:32: error: 'a' was not declared in this scope
83 | dp[k][i][j] += a[k][i][j];
| ^
main.cpp:89:9: warning: unused variable 'cubulache' [-Wunused-variable]
89 | int cubulache = 1;
| ^~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !