Borderou de evaluare (job #2803481)
Utilizator | Data | 20 noiembrie 2021 02:36:39 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:95: warning: ignoring '#pragma region GraphConstructors' [-Wunknown-pragmas]
95 | #pragma region GraphConstructors
|
main.cpp:118: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
118 | #pragma endregion
|
main.cpp:120: warning: ignoring '#pragma region GraphGetSet' [-Wunknown-pragmas]
120 | #pragma region GraphGetSet
|
main.cpp:175: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
175 | #pragma endregion
|
main.cpp:266: warning: ignoring '#pragma region GraphPublicMethods' [-Wunknown-pragmas]
266 | #pragma region GraphPublicMethods
|
main.cpp:423: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
423 | #pragma endregion
|
main.cpp:425: warning: ignoring '#pragma region GraphPrivateMethods' [-Wunknown-pragmas]
425 | #pragma region GraphPrivateMethods
|
main.cpp:614: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
614 | #pragma endregion
|
main.cpp: In member function 'void FlowHandler::SetSource(unsigned int)':
main.cpp:239:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
239 | if (source < numberOfNodes) this->source = source;
| ~~~~~~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void FlowHandler::SetSink(unsigned int)':
main.cpp:249:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
249 | if (sink < numberOfNodes) this->sink = sink;
| ~~~~~^~~~~~~~~~~~~~~
main.cpp: In member function 'long long int Graph::MaximumFlow(unsigned int, unsigned int, FlowHandler&)':
main.cpp:359:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
359 | while(node != source) { // Go back through the path to find the minimum possible increase for the flow of the whole path
| ~~~~~^~~~~~~~~
main.cpp:373:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
373 | while(node != source) { // Go back through the path to find the minimum possible increase for the flow of the whole path
| ~~~~~^~~~~~~~~
main.cpp: In member function 'int Graph::TreeDiameter()':
main.cpp:325:45: warning: 'maxIndex' may be used uninitialized in this function [-Wmaybe-uninitialized]
325 | distances = UnweightedDistances(maxIndex); // Perform a second BFS from the node that's farthest away
| ^
/usr/bin/ld: ./cciodaVf.o: in function `Graph::TotalCost()':
main.cpp:(.text+0xd): undefined reference to `Graph::GetAllEdges()'
/usr/bin/ld: ./cciodaVf.o: in function `Graph::TreeDiameter()':
main.cpp:(.text+0xf8): undefined reference to `Graph::UnweightedDistances(int)'
/usr/bin/ld: main.cpp:(.text+0x131): undefined reference to `Graph::UnweightedDistances(int)'
/usr/bin/ld: ./cciodaVf.o: in function `main':
main.cpp:(.text.startup+0xe8): undefined reference to `Graph::AddNode(int)'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !