Pagini recente » Borderou de evaluare (job #2800033) | Borderou de evaluare (job #1706653) | Borderou de evaluare (job #1940655) | Borderou de evaluare (job #1620437) | Borderou de evaluare (job #2817406)
Borderou de evaluare (job #2817406)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::criticalConnDFS(int, int, std::vector<std::vector<int> >&)':
main.cpp:252:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
252 | 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::__cxx11::list<std::pair<int, int> >*&, const int&)':
main.cpp:483: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]
483 | while (!edgesWithMinCost.empty() && result.size() < expectedEdges) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::BFS(const std::vector<std::vector<int> >&, const int&, std::vector<bool>&, std::vector<int>&, int&)':
main.cpp:584:7: warning: unused variable 'processingTimestamp' [-Wunused-variable]
584 | int processingTimestamp = 0;
| ^~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static void Graph::printEulerianPath()':
main.cpp:671: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]
671 | if (maxRequiredArrSize > nodesAndEdges.size()) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:690:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
690 | for (int i = 0; i < result.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In lambda function:
main.cpp:850:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
850 | if (crtNodeDeg > degSequence.size()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
2 | 2ms | 184kb | Raspuns corect! | 10 | 10 |
3 | 6ms | 466kb | Raspuns corect! | 10 | 10 |
4 | 45ms | 1986kb | Raspuns corect! | 10 | 10 |
5 | 107ms | 4423kb | Raspuns corect! | 10 | 10 |
6 | 402ms | 15114kb | Raspuns corect! | 10 | 10 |
7 | 116ms | 9043kb | Raspuns corect! | 10 | 20 |
8 | 526ms | 22319kb | Raspuns corect! | 10 |
9 | 476ms | 23326kb | Raspuns corect! | 10 | 20 |
10 | 650ms | 26451kb | Raspuns corect! | 10 |
Punctaj total | 100 |