Borderou de evaluare (job #2989299)
Utilizator | Data | 6 martie 2023 12:45:14 | |
---|---|---|---|
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 <muchie> V,Sol;
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:41:9: error: 'V' was not declared in this scope
41 | V.push_back(M);
| ^
main.cpp:43:10: error: 'V' was not declared in this scope
43 | sort(V.begin(),V.end(),cmp);
| ^
main.cpp:49:13: error: 'Sol' was not declared in this scope
49 | Sol.push_back(it);
| ^~~
main.cpp:58:17: error: 'Sol' was not declared in this scope
58 | for(auto it:Sol)
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !