Borderou de evaluare (job #2822138)

Utilizator oporanu.alexAlex Oporanu oporanu.alex Data 23 decembrie 2021 16:47:37
Problema Cuplaj maxim in graf bipartit Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'std::pair<std::vector<Edge>, int> Graph::MSTKruskall()': main.cpp:430: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] 430 | for(int j = 0; j < adj[i].size(); ++j) { | ~~^~~~~~~~~~~~~~~ main.cpp:444:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 444 | for(int i = 0; i < edges.size() && cnt <= E - 1; ++i) { | ~~^~~~~~~~~~~~~~ main.cpp: In member function 'int Graph::minCostHamiltonianCircuit()': main.cpp:547:27: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 547 | int minCost[1 << nmax + 5][nmax], costMatrix[nmax][nmax]; | ~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms188kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms192kbOK10
616ms897kbOK10
725ms1478kbOK10
835ms1351kbOK10
945ms2478kbOK10
1088ms3993kbOK10
Punctaj total100

Ceva nu functioneaza?