Pagini recente » Borderou de evaluare (job #1568262) | Borderou de evaluare (job #2576372) | Borderou de evaluare (job #2817) | Borderou de evaluare (job #776300) | Borderou de evaluare (job #2803480)
Borderou de evaluare (job #2803480)
Raport evaluator
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:843: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
843 | #pragma endregion
|
main.cpp:845: warning: ignoring '#pragma region GraphPrivateMethods' [-Wunknown-pragmas]
845 | #pragma region GraphPrivateMethods
|
main.cpp:1129: warning: ignoring '#pragma endregion ' [-Wunknown-pragmas]
1129 | #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:402:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
402 | while(node != source) { // Go back through the path to find the minimum possible increase for the flow of the whole path
| ~~~~~^~~~~~~~~
main.cpp:416:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
416 | 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:368:45: warning: 'maxIndex' may be used uninitialized in this function [-Wmaybe-uninitialized]
368 | distances = UnweightedDistances(maxIndex); // Perform a second BFS from the node that's farthest away
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 221kb | OK | 10 | 10 |
2 | 4ms | 184kb | OK | 10 | 10 |
3 | 2ms | 200kb | OK | 10 | 10 |
4 | 1ms | 184kb | OK | 10 | 10 |
5 | 2ms | 184kb | OK | 10 | 10 |
6 | 1ms | 184kb | OK | 10 | 10 |
7 | 9ms | 1978kb | OK | 10 | 10 |
8 | 42ms | 6230kb | OK | 10 | 0 |
9 | 44ms | 7962kb | OK | 10 |
10 | 61ms | 8839kb | Time limit exceeded | 0 |
Punctaj total | 70 |