Borderou de evaluare (job #3368756)

Utilizator ilystefalexVaduva Stefan-Alexandru ilystefalex Data 15 octombrie 2026 17:09:39
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:25:20: error: expected primary-expression before ';' token 25 | for (int i=0;i<<;i++) { | ^ main.cpp:36:21: error: 'vecin' was not declared in this scope; did you mean 'vec'? 36 | dfs(vecin,vec); | ^~~~~ | vec main.cpp:40:13: error: 'componente_conexe' was not declared in this scope 40 | fout << componente_conexe << "\n"; | ^~~~~~~~~~~~~~~~~ main.cpp:24:9: warning: unused variable 'nod' [-Wunused-variable] 24 | int nod; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?