Borderou de evaluare (job #2817221)

Utilizator Tache_RoxanaTache Roxana Tache_Roxana Data 13 decembrie 2021 11:53:29
Problema Ciclu hamiltonian de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'std::ostream& operator<<(std::ostream&, Graph)': main.cpp:32:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | for(int i = 0; i < graph.adjacent.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In constructor 'Graph::Graph(std::vector<std::tuple<int, int, int> >&, int&, bool)': main.cpp:65:13: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 65 | for(auto[node1, node2, cost]: data) { | ^ main.cpp: In member function 'std::vector<std::__cxx11::list<Graph::nodeStruct> > Graph::transposed()': main.cpp:73:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for(int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'int Graph::connected()': main.cpp:163:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 163 | for(int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::stack<int> Graph::topologicalSort()': main.cpp:182:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 182 | for(int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::pair<std::vector<std::vector<int> >, std::vector<std::pair<int, int> > > Graph::biconnected()': main.cpp:193:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 193 | for (int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<std::vector<int> > Graph::hardConnected()': main.cpp:203:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for(int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::pair<std::vector<int>, bool> Graph::bellmanFord(int)': main.cpp:249:37: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 249 | if(visited[i.node2] >= adjacent.size()) main.cpp: In member function 'std::pair<std::vector<Graph::nodeStruct>, int> Graph::minimumTreeKruskall()': main.cpp:261:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 261 | for(int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:274:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 274 | if(nrEdges == adjacent.size() - 1) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'bool Graph::havelHakimi(std::deque<int, std::allocator<int> >)': main.cpp:304:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int, std::allocator<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 304 | if(i >= degrees.size()) | ~~^~~~~~~~~~~~~~~~~ main.cpp:312:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int, std::allocator<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 312 | for(int i = 0; i < degrees.size(); i++) { | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<std::vector<int> > Graph::costMatrix()': main.cpp:321:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::nodeStruct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 321 | for(int i = 0; i < adjacent.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<std::vector<int> > Graph::royfloyd()':
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms188kbIncorect0
22ms184kbKilled by Signal 110
311ms212kbKilled by Signal 110
4127ms659kbIncorect0
5750ms1445kbTime limit exceeded0
6750ms1409kbTime limit exceeded0
7750ms921kbTime limit exceeded0
8754ms200kbTime limit exceeded0
9754ms929kbTime limit exceeded0
10750ms917kbTime limit exceeded0
11750ms856kbTime limit exceeded0
12750ms933kbTime limit exceeded0
13750ms929kbTime limit exceeded0
14750ms929kbTime limit exceeded0
15750ms671kbTime limit exceeded0
16750ms667kbTime limit exceeded0
17750ms663kbTime limit exceeded0
18750ms679kbTime limit exceeded0
19750ms671kbTime limit exceeded0
20750ms679kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?