Borderou de evaluare (job #3190707)

Utilizator mario_deaconescuMario Deaconescu mario_deaconescu Data 7 ianuarie 2024 20:39:34
Problema Ghizi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
11ms561kbOK10
20ms303kbOK10
31ms557kbOK10
40ms557kbOK10
51ms557kbOK10
60ms557kbOK10
70ms557kbOK10
81ms557kbOK10
90ms557kbOK10
100ms303kbOK10
Punctaj total100

Ceva nu functioneaza?