Pagini recente » Borderou de evaluare (job #3253694) | Borderou de evaluare (job #1164601) | Borderou de evaluare (job #1020263) | Borderou de evaluare (job #2561321) | Borderou de evaluare (job #2820445)
Borderou de evaluare (job #2820445)
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, std::allocator<int> > >&)':
main.cpp:279:70: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
279 | 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:512: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]
512 | 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:613:7: warning: unused variable 'processingTimestamp' [-Wunused-variable]
613 | int processingTimestamp = 0;
| ^~~~~~~~~~~~~~~~~~~
main.cpp: In static member function 'static void Graph::printEulerianPath()':
main.cpp:701: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]
701 | if (maxRequiredArrSize > nodesAndEdges.size()) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:721:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
721 | for (int i = 0; i < result.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void solveMinEdgesRequiredFromSource()':
main.cpp:907:15: warning: unused variable 'OUTPUT_FILE_NAME' [-Wunused-variable]
907 | const char* OUTPUT_FILE_NAME = "bfs.out";
| ^~~~~~~~~~~~~~~~
main.cpp: In lambda function:
main.cpp:1055:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
1055 | if (crtNodeDeg > degSequence.size()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Corect | 10 |
2 | 2ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Componente biconexe: componenta gresita | 4 |
5 | 2ms | 184kb | Componente biconexe: componenta gresita | 4 |
6 | 11ms | 1695kb | Componente biconexe: componenta gresita | 4 |
7 | 25ms | 3174kb | Componente biconexe: componenta gresita | 4 |
8 | 400ms | 75042kb | Time limit exceeded | 0 |
9 | 167ms | 17170kb | Componente biconexe: componenta gresita | 4 |
10 | 206ms | 21303kb | Componente biconexe: componenta gresita | 4 |
Punctaj total | 54 |