Borderou de evaluare (job #3303949)

Utilizator MrPetcuPetcu Robert MrPetcu Data 19 iulie 2025 14:49:10
Problema Easygraph Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dfs(int)': main.cpp:11:5: error: 'vizitat' was not declared in this scope 11 | vizitat[nod] = true; | ^~~~~~~ main.cpp:12:22: error: 'adiacenta' was not declared in this scope 12 | for(auto vecin : adiacenta[nod]){ | ^~~~~~~~~ main.cpp:13:21: error: 'i' was not declared in this scope 13 | if(!vizitat[i]){ | ^ main.cpp:17:5: error: 's' was not declared in this scope 17 | s.push(nod); | ^ main.cpp: In function 'int main()': main.cpp:31:9: error: 'vecini' was not declared in this scope 31 | vecini[x].push_back(y); | ^~~~~~ main.cpp:39:15: error: 's' was not declared in this scope 39 | cout<<s.top()<<" "; | ^ Non zero exit status: 1

Ceva nu functioneaza?