Borderou de evaluare (job #2280408)
Utilizator | Data | 10 noiembrie 2018 16:01:36 | |
---|---|---|---|
Problema | Ciclu hamiltonian 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
vector<int> v;
^~~~~~
main.cpp: In function 'void check_path()':
main.cpp:26:28: error: 'v' was not declared in this scope
for (size_t i = 0; i < v.size() - 1; ++i)
^
main.cpp:37:21: error: 'v' was not declared in this scope
if (exists_edge(v[v.size() - 1], v[0]))
^
main.cpp: In function 'int main()':
main.cpp:71:9: error: 'v' was not declared in this scope
v.push_back(i);
^
main.cpp:78:29: error: 'v' was not declared in this scope
while (next_permutation(v.begin(), v.end()));
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !