Borderou de evaluare (job #2811755)

Utilizator MirunaStefaniaLupascu Miruna-Stefania MirunaStefania Data 3 decembrie 2021 08:26:25
Problema Ciclu Eulerian Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::printGraph()': main.cpp:163:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 163 | for(int j = 0; j < adlist[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In member function 'Graph Graph::transpose()': main.cpp:242:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 242 | for(j = 0; j < adlist[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::stronglyConnectedComponents()': main.cpp:274:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 274 | for(j = 0; j < comp[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'bool Graph::graphExistsHakimi(std::vector<int>&, int)': main.cpp:313:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 313 | if(degree > dg.size())//check if enough elements are in the list | ~~~~~~~^~~~~~~~~~~ main.cpp:316:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 316 | for(int i = 0; i < dg.size(); ++i) //substract 1 from the following | ~~^~~~~~~~~~~ main.cpp: In member function 'std::vector<std::vector<int> > Graph::criticalConnections(int, std::vector<std::vector<int> >&)': main.cpp:370:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 370 | for(int i = 0; i < connections.size(); ++i)//for each edge | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::biconnectedComponents()': main.cpp:400:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 400 | for(int i = 0; i < biconnected.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:403:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 403 | for(int j = 0 ; j < comp.size(); ++j) | ~~^~~~~~~~~~~~~ main.cpp: In member function 'void Graph::kruskal()': main.cpp:488:41: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 488 | for(int i = 1; i <= m && sol.size() != n-1; ++i)//for each edge until we choose n-1 | ~~~~~~~~~~~^~~~~~ main.cpp:503:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 503 | for(int i = 0; i < sol.size(); ++i) | ~~^~~~~~~~~~~~ main.cpp: In member function 'void Graph::dijkstra()': main.cpp:558:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 558 | for(int i = 0; i < adj_cost[node].size(); ++i)//for all nodes that "node" is connected to | ~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::bellmanford()': main.cpp:621:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 621 | for(int i = 0; i < adj_cost[node].size(); ++i) //for each neighbour | ~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::Euler()': main.cpp:848:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 848 | for(int i = 0; i < euler_cicle.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()':
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
15ms2560kbKilled by Signal 1100
21ms184kbKilled by Signal 1100
32ms184kbKilled by Signal 1100
42ms184kbKilled by Signal 1100
52ms184kbKilled by Signal 1100
65ms2560kbKilled by Signal 1100
72ms184kbKilled by Signal 1100
82ms184kbKilled by Signal 110
92ms184kbKilled by Signal 1100
102ms184kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?