Borderou de evaluare (job #2819710)

Utilizator rimihaiMihai Radu-Ioan rimihai Data 18 decembrie 2021 21:08:08
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
16ms2510kbKilled by Signal 1100
26ms2412kbKilled by Signal 1100
311ms2744kbKilled by Signal 1100
449ms4362kbKilled by Signal 1100
5112ms6356kbKilled by Signal 1100
6402ms14491kbKilled by Signal 1100
7106ms6090kbKilled by Signal 1100
8533ms18518kbKilled by Signal 110
9475ms19296kbKilled by Signal 1100
10656ms22556kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?