Borderou de evaluare (job #2921880)

Utilizator LORDENVraja Luca LORDEN Data 2 septembrie 2022 10:58:12
Problema Something Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:12:1: error: 'vector' does not name a type 12 | vector < vector< int > > graph(100001) ; | ^~~~~~ main.cpp: In function 'void dfs(int, int)': main.cpp:23:18: error: 'graph' was not declared in this scope; did you mean 'isgraph'? 23 | for (int i : graph[x]) | ^~~~~ | isgraph main.cpp: In function 'void coloring(int)': main.cpp:39:17: error: 'graph' was not declared in this scope; did you mean 'isgraph'? 39 | for (int i: graph[x]) | ^~~~~ | isgraph main.cpp: In function 'int main()': main.cpp:58:9: error: 'graph' was not declared in this scope; did you mean 'isgraph'? 58 | graph[x].push_back(y) ; | ^~~~~ | isgraph Non zero exit status: 1

Ceva nu functioneaza?