Borderou de evaluare (job #766462)

Utilizator avatar AnAverageTurtle Visan Mihnea Alexandru AnAverageTurtle IP ascuns
Problemă Immortal (clasele 9-10) Compilator cpp-32 | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 5 mar. 2024 08:39:24 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:12:11: error: missing template arguments before 'mat' 12 | vector mat(m + 1, vector<int>(n + 1)); | ^~~ main.cpp:16:8: error: 'mat' was not declared in this scope 16 | mat[imm[i].x][imm[i].y] = i; | ^~~ main.cpp: In lambda function: main.cpp:32:29: error: 'mat' was not declared in this scope 32 | if (x > 2 && mat[x - 1][y] && !mat[x - 2][y]) { | ^~~ main.cpp:38:33: error: 'mat' was not declared in this scope 38 | if (x < m - 1 && mat[x + 1][y] && !mat[x + 2][y]) { | ^~~ main.cpp:44:29: error: 'mat' was not declared in this scope 44 | if (y > 2 && mat[x][y - 1] && !mat[x][y - 2]) { | ^~~ main.cpp:50:33: error: 'mat' was not declared in this scope 50 | if (y < n - 1 && mat[x][y + 1] && !mat[x][y + 2]) { | ^~~