Borderou de evaluare (job #3282708)
Utilizator | Data | 6 martie 2025 14:53:06 | |
---|---|---|---|
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:14:1: error: 'vector' does not name a type
14 | vector<nod> v;
| ^~~~~~
main.cpp:15:1: error: 'vector' does not name a type
15 | vector<pair<long long, long long> > rez;
| ^~~~~~
main.cpp: In function 'void un(nod)':
main.cpp:34:9: error: 'rez' was not declared in this scope
34 | rez.push_back({x, y});
| ^~~
main.cpp: In function 'int main()':
main.cpp:53:9: error: 'v' was not declared in this scope
53 | v.push_back(p);
| ^
main.cpp:55:10: error: 'v' was not declared in this scope
55 | sort(v.begin(), v.end(), cmp);
| ^
main.cpp:62:26: error: 'rez' was not declared in this scope
62 | g << cost << '\n' << rez.size() << '\n';
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !