Borderou de evaluare (job #3194114)

Utilizator adistancu10Stancu Adrian adistancu10 Data 17 ianuarie 2024 00:24:12
Problema Paznici Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:20: error: 'l00' was not declared in this scope 11 | vector<int> vecini[l00]; | ^~~ main.cpp:12:8: error: 'l00' was not declared in this scope 12 | int st[l00], dr[l00]; | ^~~ main.cpp:12:17: error: 'l00' was not declared in this scope 12 | int st[l00], dr[l00]; | ^~~ main.cpp:13:12: error: 'l00' was not declared in this scope 13 | bool solSt[l00], solDr[l00], v[l00]; | ^~~ main.cpp:13:24: error: 'l00' was not declared in this scope 13 | bool solSt[l00], solDr[l00], v[l00]; | ^~~ main.cpp:13:32: error: 'l00' was not declared in this scope 13 | bool solSt[l00], solDr[l00], v[l00]; | ^~~ main.cpp: In function 'bool Cupleaza(int)': main.cpp:18:9: error: 'v' was not declared in this scope 18 | if (v[nod]) | ^ main.cpp:20:5: error: 'v' was not declared in this scope 20 | v[nod] = true; | ^ main.cpp:22:19: error: 'vecini' was not declared in this scope 22 | for (int el : vecini[nod]) | ^~~~~~ main.cpp:23:14: error: 'st' was not declared in this scope; did you mean 'std'? 23 | if (!st[el] || Cupleaza(st[el])) | ^~ | std main.cpp:25:13: error: 'dr' was not declared in this scope 25 | dr[nod] = el; | ^~ main.cpp: In function 'void dfs(int)': main.cpp:34:5: error: 'v' was not declared in this scope 34 | v[nod] = true; | ^ main.cpp:35:5: error: 'solSt' was not declared in this scope 35 | solSt[nod] = false; | ^~~~~ main.cpp:36:18: error: 'vecini' was not declared in this scope 36 | for (int x : vecini[nod]) | ^~~~~~ main.cpp:37:16: error: 'st' was not declared in this scope; did you mean 'std'? 37 | if (!v[st[x]]) | ^~ | std main.cpp:39:13: error: 'solDr' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?