Borderou de evaluare (job #3371416)
| Utilizator | Data | 30 octombrie 2026 09:31: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 'int main()':
main.cpp:28:18: error: 'class std::priority_queue<std::pair<int, int> >' has no member named 'front'
28 | int nod=pq.front().second;
| ^~~~~
main.cpp:47:22: error: 'class std::priority_queue<std::pair<int, int> >' has no member named 'push_back'
47 | pq.push_back({-d[vec],vec});
| ^~~~~~~~~
main.cpp:52:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
52 | for(int i=2;i<=n;i++)
| ^~~
main.cpp:54:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
54 | return 0;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
