Borderou de evaluare (job #2784536)

Utilizator HadircaDionisieHadirca Dionisie HadircaDionisie Data 16 octombrie 2021 17:45:40
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In constructor 'Graph::Graph(int, int, int, bool, int)': main.cpp:22:7: warning: 'Graph::oriented' will be initialized after [-Wreorder] 22 | bool oriented = true; | ^~~~~~~~ main.cpp:20:32: warning: 'int Graph::cnt_conex' [-Wreorder] 20 | int nodes, edges, start_node, cnt_conex; | ^~~~~~~~~ main.cpp:54:2: warning: when initialized here [-Wreorder] 54 | Graph(int nodes = 0, int edges = 0, int start_node = 0,bool oriented = true,int cnt_conex = 0) : | ^~~~~ main.cpp: In member function 'void Graph::show_graph()': main.cpp:110:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 110 | for (int j = 0; j < adj[i].size(); j++) { | ~~^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK5
21ms184kbOK5
31ms184kbOK5
49ms532kbOK5
51ms184kbOK5
61ms184kbOK5
71ms184kbOK5
82ms221kbOK5
91ms184kbOK5
101ms184kbOK5
1123ms1130kbOK5
1218ms1384kbOK5
1359ms2101kbOK5
1440ms2793kbOK5
1549ms3047kbOK5
1668ms3694kbOK5
17141ms8224kbOK5
187ms2859kbOK5
194ms2736kbOK5
2079ms5001kbOK5
Punctaj total100

Ceva nu functioneaza?