Borderou de evaluare (job #3192911)
Utilizator | Data | 13 ianuarie 2024 14:53:09 | |
---|---|---|---|
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: In function 'int hamilton()':
main.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type]
38 | }
| ^
main.cpp: In function 'int main()':
main.cpp:58:51: error: 'muchie_nod_0' was not declared in this scope
58 | min_cost=min(min_cost,dp[conf_cor][nod] + muchie_nod_0);
| ^~~~~~~~~~~~
main.cpp:53:10: warning: unused variable 'ok' [-Wunused-variable]
53 | bool ok=0;
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !