Borderou de evaluare (job #2382996)

Utilizator vlad_popaVlad Popa vlad_popa Data 18 martie 2019 22:12:43
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp-32 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:6: error: 'vector' in namespace 'std' does not name a template type std::vector<std::pair<int, int> > listN[MAXN]; ^~~~~~ main.cpp: In function 'int bellmanFord()': main.cpp:18:27: error: 'memset' was not declared in this scope memset (d, INF, sizeof(d)); ^ main.cpp:26:18: error: 'listN' was not declared in this scope for (auto p : listN[node]) { ^~~~~ main.cpp: In function 'int main()': main.cpp:56:3: error: 'listN' was not declared in this scope listN[x].push_back(std::make_pair(y, c)); ^~~~~ Non zero exit status: 1

Ceva nu functioneaza?