Borderou de evaluare (job #2818679)
Utilizator | Data | 16 decembrie 2021 17:57:59 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In constructor 'Graf_orientat::Graf_orientat(int, int, std::vector<std::vector<int> >, std::vector<std::vector<int> >, int)':
main.cpp:74:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for (int i = 0; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:75:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:86:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | for (int i = 0; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:87:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:94:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for (int i = 1; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:95:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'virtual void Graf_orientat::afisare(std::ostream&)':
main.cpp:121:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
121 | for (int i = 1; i < Lista_de_adiacenta.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:123:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
123 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In constructor 'Graf_neorientat::Graf_neorientat(int, int, std::vector<std::vector<int> >, std::vector<std::vector<int> >)':
main.cpp:197:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
197 | for (int i = 0; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:198:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
198 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:209:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
209 | for (int i = 1; i < Lista_de_adiacenta.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:210:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
210 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'virtual void Graf_neorientat::afisare(std::ostream&)':
main.cpp:251:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
251 | for (int i = 1; i < Lista_de_adiacenta.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:253:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
253 | for (int j = 0; j < Lista_de_adiacenta[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf_orientat::BFS(int) const':
main.cpp:284:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
284 | for (int i = 0; i < Lista_de_adiacenta[primul_nod_din_coada].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !