Borderou de evaluare (job #1852099)

Utilizator dinu2000Enescu Dinu dinu2000 Data 20 ianuarie 2017 15:56:01
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:51:25: error: ‘std::vector<nod>::iterator’ has no member named ‘next’ if( best[it.next] > best[node] + it.cost ) ^ user.cpp:51:49: error: ‘std::vector<nod>::iterator’ has no member named ‘cost’ if( best[it.next] > best[node] + it.cost ) ^ user.cpp:53:25: error: ‘std::vector<nod>::iterator’ has no member named ‘next’ best[it.next] = best[node] + it.cost; ^ user.cpp:53:49: error: ‘std::vector<nod>::iterator’ has no member named ‘cost’ best[it.next] = best[node] + it.cost; ^ user.cpp:55:27: error: ‘std::vector<nod>::iterator’ has no member named ‘next’ if( in[it.next] == false) { ^ user.cpp:56:31: error: ‘std::vector<nod>::iterator’ has no member named ‘next’ if (ap[it.next] == N) ^ user.cpp:61:27: error: ‘std::vector<nod>::iterator’ has no member named ‘next’ ap[it.next]++; ^ user.cpp:63:31: error: ‘std::vector<nod>::iterator’ has no member named ‘next’ q.push(it.next); ^ user.cpp:64:27: error: ‘std::vector<nod>::iterator’ has no member named ‘next’ in[it.next] = true; ^ user.cpp:24:21: warning: unused variable ‘node’ [-Wunused-variable] int i, x, y, c, node; ^

Ceva nu functioneaza?