Pagini recente » Borderou de evaluare (job #1552438) | Borderou de evaluare (job #2521598) | Borderou de evaluare (job #2661940) | Borderou de evaluare (job #2007915) | Borderou de evaluare (job #3190707)
Borderou de evaluare (job #3190707)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:734:24: warning: 'sourceNode' may be used uninitialized [-Wmaybe-uninitialized]
734 | edmondKarpAlgorithm(sourceNode, targetNode, totalNodes, flowMatrix, capacityMatrix, adjacencyMatrix, parentNode, nodeIndices, outputFile);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:673:6: note: by argument 1 of type 'const int&' to 'void edmondKarpAlgorithm(const int&, const int&, const int&, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&, std::vector<int>&, std::vector<std::pair<int, int> >&, std::ofstream&)' declared here
673 | void edmondKarpAlgorithm(const int& sourceNode,
| ^~~~~~~~~~~~~~~~~~~
main.cpp:718:9: note: 'sourceNode' declared here
718 | int sourceNode, targetNode = 101;
| ^~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 561kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 1ms | 557kb | OK | 10 |
| 4 | 0ms | 557kb | OK | 10 |
| 5 | 1ms | 557kb | OK | 10 |
| 6 | 0ms | 557kb | OK | 10 |
| 7 | 0ms | 557kb | OK | 10 |
| 8 | 1ms | 557kb | OK | 10 |
| 9 | 0ms | 557kb | OK | 10 |
| 10 | 0ms | 303kb | OK | 10 |
| Punctaj total | 100 |