Borderou de evaluare (job #3253902)

Utilizator deliaandreeaddelia andreea deliaandreead Data 5 noiembrie 2024 11:39:02
Problema Immortal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'bool mutabil(int, int)': main.cpp:20:1: warning: no return statement in function returning non-void [-Wreturn-type] 20 | } | ^ main.cpp: At global scope: main.cpp:22:18: error: 'n' was not declared in this scope 22 | void BKT(int mat[n][m]){ | ^ main.cpp:22:21: error: 'm' was not declared in this scope; did you mean 'tm'? 22 | void BKT(int mat[n][m]){ | ^ | tm main.cpp: In function 'void BKT(...)': main.cpp:23:20: error: 'I' was not declared in this scope 23 | for(int i=1;i<=I;i++){ | ^ main.cpp:25:21: error: 'mat' was not declared in this scope 25 | BKT(mat[n][m]);//fara nicio schimb | ^~~ main.cpp:25:25: error: 'n' was not declared in this scope 25 | BKT(mat[n][m]);//fara nicio schimb | ^ main.cpp:25:28: error: 'm' was not declared in this scope 25 | BKT(mat[n][m]);//fara nicio schimb | ^ main.cpp:27:17: error: 'drum' was not declared in this scope 27 | drum.push_back(poz);//poz in | ^~~~ main.cpp:27:32: error: 'poz' was not declared in this scope 27 | drum.push_back(poz);//poz in | ^~~ main.cpp: In function 'int main()': main.cpp:43:9: error: 'mat' was not declared in this scope 43 | mat[x][y]=1; | ^~~ main.cpp:46:9: error: 'viu' was not declared in this scope 46 | viu=true; | ^~~ main.cpp:48:9: error: 'mat' was not declared in this scope 48 | BKT(mat[25][25]); | ^~~ Non zero exit status: 1

Ceva nu functioneaza?