Borderou de evaluare (job #2801073)

Utilizator Tache_RoxanaTache Roxana Tache_Roxana Data 14 noiembrie 2021 20:24:34
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In member function 'std::vector<std::__cxx11::list<Graph::node_struct> > Graph::transposed()': main.cpp:20:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 20 | for(int i=0; i<adjacent.size(); i++) | ~^~~~~~~~~~~~~~~~ main.cpp: In constructor 'Graph::Graph(std::vector<std::tuple<int, int, int> >&, int, bool)': main.cpp:83:17: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 83 | for(auto[node1, node2, cost]: data) { | ^ main.cpp: In function 'std::ostream& operator<<(std::ostream&, Graph)': main.cpp:91:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 91 | for(int i = 0; i < graph.adjacent.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'int Graph::connected()': main.cpp:102:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for(int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::stack<int> Graph::topologicalSort()': main.cpp:121:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for(int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:120:13: warning: unused variable 'nr' [-Wunused-variable] 120 | int nr = 0; | ^~ main.cpp: In member function 'std::pair<std::vector<std::vector<int> >, std::vector<std::pair<int, int> > > Graph::biconnected()': main.cpp:132:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 132 | for (int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<std::vector<int> > Graph::hardConnected()': main.cpp:142:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::list<Graph::node_struct> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 142 | for(int i = 0; i < adjacent.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:183:25: warning: unused variable 'cost' [-Wunused-variable] 183 | int aux1, aux2, cost; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms184kbCorect1030
21ms184kbCorect10
31ms184kbCorect10
41ms184kbCorect1030
53ms569kbCorect10
623ms2437kbCorect10
751ms3678kbCorect1030
8213ms9170kbCorect10
9223ms16302kbCorect10
10357ms24182kbTime limit exceeded00
Punctaj total90

Ceva nu functioneaza?