Borderou de evaluare (job #2424794)

Utilizator teodor.dumitrescuDumitrescu Teodor teodor.dumitrescu Data 23 mai 2019 20:56:34
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 'int prim(int, int)': main.cpp:34:23: error: no match for 'operator[]' (operand types are 'int [200005]' and '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> > >::value_type {aka std::pair<int, int>}') if(viz[graf[y][i]]==0) ^ main.cpp:45:23: error: no match for 'operator[]' (operand types are 'int [200005]' and '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> > >::value_type {aka std::pair<int, int>}') if(viz[graf[x][i]]==0) ^ Non zero exit status: 1

Ceva nu functioneaza?