Pagini recente » Borderou de evaluare (job #2312167) | Borderou de evaluare (job #112345) | Borderou de evaluare (job #1564403) | Borderou de evaluare (job #1298284) | Borderou de evaluare (job #2813742)
Borderou de evaluare (job #2813742)
Raport evaluator
Compilare:
main.cpp: In member function 'std::vector<int> Graph::BFS(int)':
main.cpp:168:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
168 | for(int i=0; i < this->m_graph_adjacency_list[curent].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::edmonds_karp()':
main.cpp:238:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
238 | for(int i = 0; i < this->m_graph_adjacency_list[this->m_graph_nodes].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::BFS_diametru(int, int&, int&)':
main.cpp:302:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
302 | for(int i=0; i < this->m_graph_adjacency_list[curent].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::minimum_length_BFS(std::vector<std::vector<int> >&, std::vector<int>&, std::vector<int>&, std::vector<int>&)':
main.cpp:348:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
348 | for(int j = 0; j < this->m_graph_adjacency_list.size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:387:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
387 | g.read_unoriented_tree_without_costs_as_adjacency_list("../darb.in");
| ^~~~~~~~~~~~
| 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 | 11ms | 815kb | OK | 10 |
| 6 | 44ms | 2637kb | OK | 10 |
| 7 | 68ms | 3641kb | OK | 10 |
| 8 | 115ms | 5435kb | OK | 10 |
| 9 | 83ms | 6176kb | OK | 10 |
| 10 | 163ms | 7016kb | OK | 10 |
| Punctaj total | 100 |