Borderou de evaluare (job #2821881)

Utilizator FraNNNkieFrancesco-Gregorio Petrovici FraNNNkie Data 23 decembrie 2021 10:39:18
Problema Paduri de multimi disjuncte Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::setEdgeCost(int, int, int)': main.cpp:54:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 54 | if(i <= m_costMatrix.size()){ | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:55:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 55 | if(j <= m_costMatrix[i].size()){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'int Graph::bfs_dist(int, std::vector<bool>&, std::vector<int>&)': main.cpp:144:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 144 | for(int i = 0; i < neighbours; ++i){ | ~~^~~~~~~~~~~~ main.cpp: In function 'void pbDarb(const string&, const string&)': main.cpp:21:25: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] 21 | m_numberOfEdges = numberOfEdges; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:319:18: note: 'm' was declared here 319 | int n, a, b, m; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms262kbOK1010
22ms184kbOK1010
32ms184kbOK1010
42ms184kbOK1010
56ms290kbOK1030
669ms946kbOK10
769ms929kbOK10
873ms1228kbOK1010
940ms864kbOK1010
1078ms1482kbOK1010
Punctaj total100

Ceva nu functioneaza?