Borderou de evaluare (job #3339195)

Utilizator TeodoRazvanStancu Teodor-Razvan TeodoRazvan Data 6 februarie 2026 18:24:56
Problema Petrica Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dfsb(int, int)': main.cpp:14:5: error: 'g' was not declared in this scope 14 | g[nod]=g[rad]+1; | ^ main.cpp: In function 'int main()': main.cpp:33:5: error: 'g' was not declared in this scope 33 | g.resize(n+1); | ^ Non zero exit status: 1

Ceva nu functioneaza?