Pagini recente » Borderou de evaluare (job #456142) | Borderou de evaluare (job #1674853) | Borderou de evaluare (job #2006373) | Borderou de evaluare (job #1901569) | Borderou de evaluare (job #2820475)
Borderou de evaluare (job #2820475)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::criticalConnDFS(int, int, std::vector<std::vector<int> >&, std::vector<bool>&, bool&, std::stack<std::pair<int, int> >&, std::vector<std::deque<int> >&)':
main.cpp:285:70: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
285 | bool isCrtNodeArticulationPoint = isSolvingBiconnected == true && (lowestLevelReached[childNodeIdx] >= ingressTimestamp[crtNodeIdx]) || (lowestLevelReached[childNodeIdx] > ingressTimestamp[crtNodeIdx]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::pair<int, std::vector<std::pair<int, int> > > Graph::getMSPAndTotalCost(std::vector<std::vector<std::pair<int, int> > >&, const int&)':
main.cpp:538:53: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare]
538 | while (!edgesWithMinCost.empty() && result.size() < expectedEdges) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::BFS(const int&, std::vector<bool>&, std::vector<int>&, int&)':
main.cpp:638:7: warning: unused variable 'processingTimestamp' [-Wunused-variable]
638 | int processingTimestamp = 0;
| ^~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static void Graph::printEulerianPath()':
main.cpp:747:28: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
747 | if (maxRequiredArrSize > nodesAndEdges.size()) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:767:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
767 | for (int i = 0; i < result.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void solveMinEdgesRequiredFromSource()':
main.cpp:959:15: warning: unused variable 'OUTPUT_FILE_NAME' [-Wunused-variable]
959 | const char* OUTPUT_FILE_NAME = "bfs.out";
| ^~~~~~~~~~~~~~~~
main.cpp: In function 'void solveStronglyConnectedComponents()':
main.cpp:1071:15: warning: unused variable 'OUTPUT_FILE_NAME' [-Wunused-variable]
1071 | const char* OUTPUT_FILE_NAME = "ctc.out";
| ^~~~~~~~~~~~~~~~
main.cpp: In lambda function:
main.cpp:1126:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1126 | if (crtNodeDeg > degSequence.size()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 6ms | 331kb | OK | 10 |
6 | 11ms | 561kb | OK | 10 |
7 | 21ms | 1015kb | OK | 10 |
8 | 30ms | 1351kb | OK | 10 |
9 | 64ms | 2473kb | OK | 10 |
10 | 97ms | 3149kb | OK | 10 |
Punctaj total | 100 |