Borderou de evaluare (job #2497827)
Utilizator | Data | 23 noiembrie 2019 11:27:18 | |
---|---|---|---|
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:13:1: error: 'vector' does not name a type
vector <NodCost> G[21];
^~~~~~
main.cpp: In function 'void rezolvare()':
main.cpp:24:33: error: 'G' was not declared in this scope
for (auto j:G[i])
^
main.cpp:17:17: warning: unused variable 'j' [-Wunused-variable]
int stare,i,j;
^
main.cpp: In function 'int main()':
main.cpp:41:9: error: 'G' was not declared in this scope
G[a].push_back({b,c});
^
main.cpp:53:21: error: 'G' was not declared in this scope
for (auto j:G[i])
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !