Borderou de evaluare (job #3285598)
Utilizator | Data | 13 martie 2025 11:10:23 | |
---|---|---|---|
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:12:1: error: 'vector' does not name a type
12 | vector <pair <int, int> > sol;
| ^~~~~~
main.cpp: In member function 'void apm::unite(ceva)':
main.cpp:39:13: error: 'sol' was not declared in this scope
39 | sol.push_back({x.x, x.y});
| ^~~
main.cpp: In function 'int main()':
main.cpp:56:28: error: 'sol' was not declared in this scope
56 | cout << ans << '\n' << sol.size() << '\n';
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !