Borderou de evaluare (job #3270644)

Utilizator Alex_BerbescuBerbescu Alexandru Alex_Berbescu Data 23 ianuarie 2025 20:42:42
Problema Graph Cycle Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dfs(int)': main.cpp:19:13: error: 'tata' was not declared in this scope 19 | tata[it] = nod; | ^~~~ main.cpp:22:26: error: 'tata' was not declared in this scope 22 | } else if (it != tata[nod]) | ^~~~ main.cpp:22:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 22 | } else if (it != tata[nod]) | ^~ main.cpp:24:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 24 | vector<int> temp_cycle; | ^~~~~~ main.cpp:29:26: error: 'tata' was not declared in this scope 29 | curent = tata[curent]; | ^~~~ main.cpp: At global scope: main.cpp:38:1: error: expected declaration before '}' token 38 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?