Borderou de evaluare (job #2822202)

Utilizator SofeiAndreiSofei Andrei SofeiAndrei Data 23 decembrie 2021 18:22:00
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void graf::sortare_topologica()': main.cpp:126:27: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 126 | while(rezolvare.size()<n){ | ~~~~~~~~~~~~~~~~^~ main.cpp:127:45: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 127 | for(int i=1;i<=n && rezolvare.size()<n;i++){ | ~~~~~~~~~~~~~~~~^~ main.cpp: In member function 'void graf::ctc()': main.cpp:176:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 176 | for(int j=0;j<vecini[i].size();j++){ | ~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'void graf::Componente_Biconexe()': main.cpp:227:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 227 | for(int i=0;i<solutie.size();i++){ | ~^~~~~~~~~~~~~~~ main.cpp:228:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 228 | for(int j=0;j<solutie[i].size();j++){ | ~^~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void graf::DFS3(int, int*, bool*, std::stack<std::pair<int, int> >&, int*, int*, std::vector<std::vector<int> >&, int)': main.cpp:270:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 270 | for(int j=0;j<temporar_muchii[1].size();j++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void graf::Muchii_Critice()': main.cpp:303:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 303 | for(int i=0;i<solutie.size();i++){ | ~^~~~~~~~~~~~~~~ main.cpp:305:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 305 | if(i!=solutie.size()-1){ | ~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'bool Havel_Hakimi(std::vector<int>)': main.cpp:347:29: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 347 | if(grade[grade.size()-1]>grade.size()-1){ main.cpp:353:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 353 | if(cel_cel_mai_mare_grad>grade.size()){ | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ main.cpp: In member function 'bool graf::BFS_flux_maxim(int, int, std::vector<int>&, std::vector<bool>&, const std::vector<std::vector<int> >&, const std::vector<std::vector<int> >&)': main.cpp:488:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 488 | for(int i=0;i<vecini[coada.front()].size();i++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void graf_cu_costuri::kruskall()': main.cpp:595:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 595 | for(int i=0;i<muchii.size();i++){ | ~^~~~~~~~~~~~~~ main.cpp:604:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 604 | for(int i=0;i<solutie.size();i++){ | ~^~~~~~~~~~~~~~~ main.cpp: In member function 'void graf_cu_costuri::dijkstra(int)': main.cpp:633:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 633 | for(int i=0;i<vecini[nod_curent].size();i++){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms262kbKilled by Signal 110
22ms184kbKilled by Signal 110
32ms192kbKilled by Signal 110
42ms184kbKilled by Signal 110
52ms184kbKilled by Signal 110
62ms184kbKilled by Signal 110
72ms184kbKilled by Signal 110
82ms262kbKilled by Signal 110
92ms184kbKilled by Signal 110
102ms184kbKilled by Signal 110
112ms184kbKilled by Signal 110
122ms184kbKilled by Signal 110
132ms184kbKilled by Signal 110
142ms184kbKilled by Signal 110
152ms184kbKilled by Signal 110
162ms184kbKilled by Signal 110
172ms184kbKilled by Signal 110
182ms184kbKilled by Signal 110
192ms184kbKilled by Signal 110
202ms184kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?