Borderou de evaluare (job #2767632)
Utilizator | Data | 7 august 2021 08:48:21 | |
---|---|---|---|
Problema | Barbar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs_barbar()':
main.cpp:39:35: error: 'directions' was not declared in this scope
for (pair<int, int> dir : directions) {
^~~~~~~~~~
main.cpp:40:39: error: 'i' was not declared in this scope
int new_x = cell_x + dlin[i];
^
main.cpp:39:29: warning: unused variable 'dir' [-Wunused-variable]
for (pair<int, int> dir : directions) {
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !