Borderou de evaluare (job #2803884)

Utilizator andreea.ioanaSora Andreea-Ioana andreea.ioana Data 20 noiembrie 2021 16:37:02
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Graf::afisare(std::ostream&)': main.cpp:93:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | for (int j = 0; j < listaAd[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::BFS(std::ostream&, int)': main.cpp:118:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for (int i = 0; i < listaAd[S].size(); i++) ///parcurgem vecinii nodului curent | ~~^~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DoDfs(int, std::vector<int>&)': main.cpp:137:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 137 | for (int i = 0; i < listaAd[nod].size(); i++) ///parcurgem vecinii nodului curent | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::sortareTopologica(std::ostream&, int*)': main.cpp:173:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 173 | for (int i = 0; i < listaAd[nod_curent].size(); i++) ///parcurgem vecinii | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:181:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 181 | for (int i=0; i < rez.size(); i++) | ~~^~~~~~~~~~~~ main.cpp: In member function 'int Graf::existaGrafHH(std::vector<int>&, int)': main.cpp:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 196 | if (nr > v.size()) ///daca gradul este mai mare decat numarul de elemente ramase | ~~~^~~~~~~~~~ main.cpp: In member function 'void Graf::dfs1(int, std::vector<int>&, std::stack<int>&)': main.cpp:219:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 219 | for (int i = 0; i < listaAd[nod].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::dfs2(int, std::vector<int>&, std::vector<std::vector<int> >, std::vector<std::vector<int> >&, std::vector<int>&)': main.cpp:232:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 232 | for (int i = 0; i < listaTr[nod].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::ctc(std::vector<int>, std::stack<int>, std::vector<std::vector<int> >, std::vector<int>, std::ostream&)': main.cpp:262:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 262 | for (int i = 0; i < rez.size(); i++) | ~~^~~~~~~~~~~~ main.cpp:266:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 266 | for (int j = 0; j < rez[i].size(); j++) | ~~^~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DfsMuchiiCritice(int, int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&, std::ostream&)': main.cpp:280:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 280 | for (int i = 0; i < listaAd[nod].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void problemaAPMKruskal()': main.cpp:620:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 620 | for (int i = 0; i < rezultat.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:678:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 678 | for (int i = 0; i < rezultat.size(); i++) | ~~^~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11001ms184kbTime limit exceeded0
21001ms184kbTime limit exceeded0
31003ms307kbTime limit exceeded0
41003ms307kbTime limit exceeded0
51004ms307kbTime limit exceeded0
61005ms22581kbTime limit exceeded0
71003ms42557kbTime limit exceeded0
81002ms8818kbTime limit exceeded0
91001ms9687kbTime limit exceeded0
101000ms36831kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?