Borderou de evaluare (job #2907343)

Utilizator Ssebi1Dancau Sebastian Ssebi1 Data 29 mai 2022 19:49:28
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&, Graf&)': main.cpp:89:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 89 | for (int j = 1; j < graf.matriceAdiacenta[i].size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DFS(int, std::vector<int>&)': main.cpp:241:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 241 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) { // parcurgem nodurile adiacente nodului curent | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<std::vector<int> > Graf::muchiiCritice_neeficient()': main.cpp:290:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 290 | for (int j = 1; j < this->matriceAdiacenta[nod].size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::MuchieCritica(int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&)': main.cpp:329:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 329 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::sortare_topologica(int, std::vector<int>&, std::vector<int>&)': main.cpp:374:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 374 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DFS_darb(int, std::vector<int>&, int&, int&, int&)': main.cpp:531:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 531 | for (int i = 1; i < matriceAdiacenta[nod].size(); i++) { // parcurgem nodurile adiacente nodului curent | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<std::vector<int> > Graf::APM(std::vector<std::vector<int> >)': main.cpp:604:23: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 604 | while (sol.size() < this->nrNoduri - 1) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'int Graf::hamilton(std::vector<std::vector<std::pair<int, int> > >)': main.cpp:639:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 639 | for (int k = 0; k < matriceAdiacentaCosturi[j].size(); k++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:640:33: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 640 | if (i && (1 << matriceAdiacentaCosturi[j][k].first)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:652: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] 652 | for (int i = 0; i < matriceAdiacentaCosturi[0].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void infoarena_dfs()': main.cpp:679:15: warning: unused variable 'S' [-Wunused-variable] 679 | int N, M, S; | ^ main.cpp: In function 'void leetcode_CriticalConnections()': main.cpp:705:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 705 | for (int i = 0; i < result.size(); i++) { | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'void havel_hakimi(std::vector<int>)': main.cpp:961:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 961 | for (int i = 0; i < grade.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms184kbIncorect0
21ms184kbIncorect0
32ms217kbIncorect0
41ms184kbIncorect0
51ms188kbIncorect0
61ms184kbIncorect0
776ms4382kbIncorect0
839ms4382kbIncorect0
912ms1093kbIncorect0
1021ms1191kbIncorect0
1119ms1093kbIncorect0
1215ms1093kbIncorect0
1317ms1101kbIncorect0
1416ms1093kbIncorect0
15401ms19124kbIncorect0
16301ms19181kbIncorect0
17246ms19132kbIncorect0
18488ms19116kbIncorect0
19624ms19152kbIncorect0
20490ms19083kbIncorect0
Punctaj total0

Ceva nu functioneaza?