Borderou de evaluare (job #2962614)

Utilizator AndreiBOTOBotocan Andrei AndreiBOTO Data 8 ianuarie 2023 20:51:26
Problema TreeGCD Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:22:1: error: 'vector' does not name a type 22 | vector<int>v[NMAX]; | ^~~~~~ main.cpp: In function 'int dfs(int, int)': main.cpp:32:20: error: 'v' was not declared in this scope 32 | for(auto i:v[p]) | ^ main.cpp:45:1: warning: no return statement in function returning non-void [-Wreturn-type] 45 | } | ^ main.cpp: In function 'int main()': main.cpp:55:9: error: 'v' was not declared in this scope 55 | v[x].push_back(y); | ^ main.cpp:49:11: warning: unused variable 'j' [-Wunused-variable] 49 | int i,j,x,y,root; | ^ main.cpp:49:17: warning: unused variable 'root' [-Wunused-variable] 49 | int i,j,x,y,root; | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?