Borderou de evaluare (job #2434475)

Utilizator DRLDRLRaul Ronald Galea DRLDRL Data 2 iulie 2019 02:06:21
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void Prim()': main.cpp:25:2: error: 'nodes' was not declared in this scope nodes[1].inS = 1; // initialize S with first node, assume connected graph ^~~~~ main.cpp:23:10: warning: unused variable 'i' [-Wunused-variable] int id, i, f, w, cost = 0; ^ main.cpp: In function 'int main()': main.cpp:69:2: error: 'nodes' was not declared in this scope nodes.resize(V+1); ^~~~~ main.cpp:76:3: error: 'edges' was not declared in this scope edges.push_back(triple(x, y, w)); ^~~~~ main.cpp:76:33: error: 'triple' was not declared in this scope edges.push_back(triple(x, y, w)); ^ Non zero exit status: 1

Ceva nu functioneaza?