Borderou de evaluare (job #2815392)

Utilizator MihaiLazar26Lazar Mihai MihaiLazar26 Data 9 decembrie 2021 15:51:00
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'bool Graf::HavelHakimi(std::vector<int>)': main.cpp:278:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 278 | if(prim > grade.size()) return false; | ~~~~~^~~~~~~~~~~~~~ main.cpp: In member function 'int Graf::maxflow(int, int, std::vector<std::vector<int> >)': main.cpp:525:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 525 | while(new_flow = bfsMaxflow(s, d, parent, capacitate)){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
46ms2605kbOK10
515ms3158kbOK10
644ms4374kbOK10
763ms5193kbOK10
8110ms6426kbOK10
983ms7049kbOK10
10149ms7741kbOK10
Punctaj total100

Ceva nu functioneaza?