Borderou de evaluare (job #2815012)

Utilizator FraNNNkieFrancesco-Gregorio Petrovici FraNNNkie Data 8 decembrie 2021 23:02:12
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In constructor 'weightedGraph::weightedGraph(int, int, std::vector<std::vector<int> >&)': main.cpp:19:30: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 19 | if(costMatrix.size() != numberOfNodes + 1){ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void weightedGraph::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()){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbIncorect0
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK10
76ms200kbOK10
86ms294kbOK10
96ms303kbOK10
1011ms356kbOK10
Punctaj total90

Ceva nu functioneaza?