Borderou de evaluare (job #3283624)
Utilizator | Data | 10 martie 2025 00:04:08 | |
---|---|---|---|
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:51:55: error: 'grid' was not declared in this scope
51 | if (i != j && grid[j][i] && (mask & (1ll << j))) {
| ^~~~
main.cpp:72:5: error: 'minim' was not declared in this scope
72 | minim=INF;
| ^~~~~
main.cpp:78:8: error: 'maxim' was not declared in this scope
78 | if(maxim!=INF)
| ^~~~~
main.cpp:14:13: warning: unused variable 'k' [-Wunused-variable]
14 | int i,j,k;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !