Borderou de evaluare (job #2278402)

Utilizator Andrei.GheorgheAndrei Gheorghe Andrei.Gheorghe Data 7 noiembrie 2018 23:29:37
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:11: error: uninitialized const 'NMax' [-fpermissive] const int NMax[100005]; ^~~~ main.cpp:9:20: error: array bound is not an integer constant before ']' token vector <int> a[NMax]; ^ main.cpp: In function 'void dfs(int)': main.cpp:13:29: error: 'a' was not declared in this scope for(unsigned int i=1;i<=a[ns].size();i++) ^ main.cpp: In function 'int main()': main.cpp:29:9: error: 'a' was not declared in this scope a[x].push_back(y); ^ Non zero exit status: 1

Ceva nu functioneaza?