Borderou de evaluare (job #2819159)
Raport evaluator
Compilare:
main.cpp: In constructor 'Graf::Graf(int, int, bool, std::vector<std::vector<int> >&)':
main.cpp:41:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int j = 0; j < adjacencyList[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graf::bfs(int, int)':
main.cpp:69:15: warning: unused variable 'n' [-Wunused-variable]
69 | const int n = m_nrNodes + 1;
| ^
main.cpp:104:5: warning: 'lastVisited' may be used uninitialized in this function [-Wmaybe-uninitialized]
104 | if(lastVisited != start) return -1;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 16ms | 598kb | Incorect | 0 |
5 | 170ms | 917kb | Incorect | 0 |
6 | 1053ms | 4161kb | Time limit exceeded | 0 |
7 | 1052ms | 9457kb | Time limit exceeded | 0 |
8 | 1050ms | 12906kb | Time limit exceeded | 0 |
9 | 1052ms | 32657kb | Time limit exceeded | 0 |
10 | 1051ms | 32727kb | Time limit exceeded | 0 |
Punctaj total | 0 |