Borderou de evaluare (job #3037358)
Utilizator | Data | 25 martie 2023 14:33:45 | |
---|---|---|---|
Problema | Clici disjuncte total interconectate prin lanțuri | Status | done |
Runda | Universitatea Tehnică din Cluj-Napoca - 2023 - Concurs | Compilator | cpp-64 |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void findHamil(int, int, int, std::vector<int>*)':
main.cpp:21:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int t=0;t<nodes[node].size();t++){
| ~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void solveCase()':
main.cpp:61:17: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
61 | bin[a][b]++;
| ~~~~~~~~^
main.cpp:62:17: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
62 | bin[b][a]++;
| ~~~~~~~~^
main.cpp:100:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
100 | for(int t=0;t<nodes[i].size();t++){
| ~^~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !