Borderou de evaluare (job #2775491)

Utilizator redstonegamer22Andrei Ion redstonegamer22 Data 15 septembrie 2021 23:47:08
Problema Labirint2 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:46:9: error: expected unqualified-id before '[' token auto [x, y] = cnt; ^ main.cpp:48:11: error: 'x' was not declared in this scope if(mat[x][y] == 1) continue; ^ main.cpp:48:14: error: 'y' was not declared in this scope if(mat[x][y] == 1) continue; ^ main.cpp:51:14: error: 'x' was not declared in this scope int nx = x + dx[dir]; ^ main.cpp:52:14: error: 'y' was not declared in this scope int ny = y + dy[dir]; ^ main.cpp:69:9: error: expected unqualified-id before '[' token auto [x, y] = cnt; ^ main.cpp:71:11: error: 'x' was not declared in this scope if(mat[x][y] == 1) continue; ^ main.cpp:71:14: error: 'y' was not declared in this scope if(mat[x][y] == 1) continue; ^ main.cpp:74:14: error: 'x' was not declared in this scope int nx = x + dx[dir]; ^ main.cpp:75:14: error: 'y' was not declared in this scope int ny = y + dy[dir]; ^ Non zero exit status: 1

Ceva nu functioneaza?