Borderou de evaluare (job #2819709)

Utilizator rimihaiMihai Radu-Ioan rimihai Data 18 decembrie 2021 21:07:46
Problema Ciclu Eulerian Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In destructor 'Clasa_Graf::~Clasa_Graf()': main.cpp:63:14: warning: deleting array '((Clasa_Graf*)this)->Clasa_Graf::lista_adiacenta' 63 | delete[] lista_adiacenta; | ^~~~~~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::dfs(int, std::unordered_map<int, bool>&)': main.cpp:69:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 69 | for (int i=0; i<lista_adiacenta[x].size(); ++i) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::bfs(int, std::unordered_map<int, bool>&, std::__cxx11::list<int>&)': main.cpp:85:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 85 | for (int i=0; i<lista_adiacenta[x].size(); ++i) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::DFS1(int, std::unordered_map<int, bool>&, std::vector<int>&)': main.cpp:114:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 114 | for (int i=0; i <lista_adiacenta[x].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::DFS2(int, int, std::unordered_map<int, bool>&, std::vector<int>*, std::vector<int>*)': main.cpp:127:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 127 | for (int i = 0; i < lista_adiacenta2[x].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::biconex(int, int, std::unordered_map<int, int>&, int*, std::stack<std::pair<int, int> >&, std::vector<std::set<int> >&)': main.cpp:138:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 138 | for (int i=0; i<lista_adiacenta[start].size(); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::dfs_muchie_critica(int, int, int, int*, int*, std::vector<std::vector<int> >&)': main.cpp:176:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 176 | for (int i=0; i<lista_adiacenta[curr].size(); i++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'bool Clasa_Graf::HH(std::vector<int>)': main.cpp:204:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 204 | if (grade.size() < nodactual) | ~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::DFS_darb(int, int*, int&, int&)': main.cpp:243:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 243 | for(int i = 0; i < lista_adiacenta[curr].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::infoarena_ctc()': main.cpp:382:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 382 | for(int j = 0; j <componente[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::leetcode_muchiecritica()': main.cpp:429:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 429 | for(int i=0; i<ans.size(); i++) | ~^~~~~~~~~~~ main.cpp: In member function 'void Clasa_Graf::infoarena_bellman_ford()': main.cpp:515:16: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated] 515 | viz[nod]++; | ~~~~~~~^ main.cpp:532:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 532 | if(ok==1)
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
16ms2523kbKilled by Signal 1100
26ms2457kbKilled by Signal 1100
36ms2498kbKilled by Signal 1100
46ms2523kbKilled by Signal 1100
56ms2539kbKilled by Signal 1100
66ms2531kbKilled by Signal 1100
76ms2588kbKilled by Signal 1100
86ms2506kbKilled by Signal 110
96ms2478kbKilled by Signal 1100
106ms2449kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?