Borderou de evaluare (job #2814055)

Utilizator PopescuMihneaPopescu Mihnea-Valentin PopescuMihnea Data 7 decembrie 2021 15:14:25
Problema Ciclu Eulerian Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'void graf::biconex(unsigned int, int*, int*, unsigned int&, std::stack<std::pair<unsigned int, unsigned int> >&, std::vector<unsigned int>&)': main.cpp:298:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 298 | while(aux1!=nod_curent || aux2!=this->lista_vecini[nod_curent][i].first); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void graf::havelhakimi()': main.cpp:415:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 415 | for (unsigned int i=0; i<=vmax; ++i) | ~^~~~~~ main.cpp:416:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 416 | for (unsigned int j=0; j<ap[i]; ++j) | ~^~~~~~ main.cpp: In member function 'void graf::disjoint()': main.cpp:607:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 607 | for (unsigned int i=0; i<=n; ++i) | ~^~~ main.cpp: In member function 'void graf::dijkstra()': main.cpp:676:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 676 | for (int i=0; i<this->lista_vecini[nod].size(); ++i) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void graf::Bellman_Ford()': main.cpp:732:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 732 | if (nrCoada[nod_dest]>this->n) | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.cpp: In member function 'void graf::maxflow()': main.cpp:787:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 787 | if (nod_curent!=this->n) | ~~~~~~~~~~^~~~~~~~~ main.cpp: In member function 'void graf::cicluhamilton()': main.cpp:955:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 955 | for (i=0; i<(1<<this->n); ++i) | ~^~~~~~~~~~~~~ main.cpp:967:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 967 | for (i=0; i<1<<this->n; ++i) | ~^~~~~~~~~~~ main.cpp:969:24: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 969 | if (i && (1<<j)) | ~~^~~~ main.cpp:973:32: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 973 | if (i && (1<<vecin)) | ~~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbRaspuns corect!1010
22ms184kbRaspuns corect!1010
36ms417kbRaspuns corect!1010
445ms1974kbRaspuns corect!1010
5112ms4300kbRaspuns corect!1010
6398ms13250kbRaspuns corect!1010
7111ms5836kbRaspuns corect!1020
8535ms18104kbRaspuns corect!10
9483ms19296kbRaspuns corect!1020
10650ms22503kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?