Borderou de evaluare (job #2815379)

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

Raport evaluator

Compilare: main.cpp: In member function 'bool Graf::HavelHakimi(std::vector<int>)': main.cpp:280:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 280 | if(prim > grade.size()) return false; | ~~~~~^~~~~~~~~~~~~~ main.cpp: In member function 'int Graf::maxflow(int, int, std::vector<std::vector<int> >)': main.cpp:527:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 527 | while(new_flow = bfsMaxflow(s, d, parent, capacitate)){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
46ms2691kbOK10
525ms3170kbOK10
6126ms4333kbOK10
7179ms5185kbOK10
8203ms6443kbTime limit exceeded0
9186ms65556kbMemory limit exceeded0
10203ms7634kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?