Borderou de evaluare (job #2951310)

Utilizator AndreiBOTOBotocan Andrei AndreiBOTO Data 5 decembrie 2022 22:31:33
Problema Easygraph Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:17:1: error: 'vector' does not name a type 17 | vector<int>v[NMAX]; | ^~~~~~ main.cpp: In function 'void dfs(int)': main.cpp:24:16: error: 'v' was not declared in this scope 24 | for(auto i:v[p]) | ^ main.cpp:21:9: warning: unused variable 'maxi' [-Wunused-variable] 21 | int maxi=0; | ^~~~ main.cpp: In function 'void reset(int)': main.cpp:38:9: error: 'v' was not declared in this scope 38 | v[i].clear(); | ^ main.cpp: In function 'int main()': main.cpp:56:13: error: 'v' was not declared in this scope 56 | v[x].push_back(y); | ^ main.cpp:48:23: warning: unused variable 'j' [-Wunused-variable] 48 | int n,m,x,y,i,j; | ^ Non zero exit status: 1

Ceva nu functioneaza?