Borderou de evaluare (job #3317845)
| Utilizator | Data | 25 octombrie 2025 16:53:10 | |
|---|---|---|---|
| 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 main()':
main.cpp:19:13: error: 'j' was not declared in this scope
19 | for(j=0;j<n;j++)
| ^
main.cpp:25:21: error: 'j' was not declared in this scope
25 | for(j=1; j<=cont[i]; j++)
| ^
main.cpp:29:38: error: 'cost' was not declared in this scope; did you mean 'cosl'?
29 | sol=min(sol, dp[(1<<n)-1][i]+cost[i][0]);
| ^~~~
| cosl
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
