Borderou de evaluare (job #2833749)
Utilizator | Data | 15 ianuarie 2022 16:53:51 | |
---|---|---|---|
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:31:11: error: redeclaration of 'int c'
31 | int act, c, nxt, cost, bit;
| ^
main.cpp:17:12: note: 'int c' previously declared here
17 | int x, y, c;
| ^
main.cpp:36:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<much>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for (int i = 0; i < gr[act].size(); i++) {
| ~~^~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !