Borderou de evaluare (job #2527427)
Utilizator | Data | 20 ianuarie 2020 12:35:56 | |
---|---|---|---|
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 kruskal(std::vector<std::tuple<int, int, int> >&, int)':
main.cpp:59:7: error: expected unqualified-id before '[' token
auto[a, b, w] = t;
^
main.cpp:60:29: error: 'a' was not declared in this scope
int roota = find(subsets, a);
^
main.cpp:61:29: error: 'b' was not declared in this scope
int rootb = find(subsets, b);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !