Borderou de evaluare (job #3176187)

Utilizator Matoka26Dogaru Mihail Danut Matoka26 Data 26 noiembrie 2023 20:06:53
Problema Camionas Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'int Graph::dykstra(int, int, int, int)': main.cpp:146:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 146 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<int> Graph::zeroOneBFS(int)': main.cpp:178:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 178 | for(int i = 0 ; i < this->adjacency[current].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:198:1: warning: no return statement in function returning non-void [-Wreturn-type] 198 | } | ^ main.cpp: In member function 'void Solution::rusuoaica()': main.cpp:325:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 325 | for(int i = 0 ; i < newEdgeList.size() ; i++){ | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'int Solution::findCheapestPrice(int, std::vector<std::vector<int> >&, int, int, int)': main.cpp:354:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 354 | for(int i = 0; i < flights.size() ; i++) | ~~^~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms413kbKilled by Signal 110
23ms409kbKilled by Signal 110
33ms479kbKilled by Signal 110
44ms757kbKilled by Signal 110
55ms999kbKilled by Signal 110
616ms2879kbKilled by Signal 110
727ms5156kbKilled by Signal 110
825ms4386kbKilled by Signal 110
942ms7168kbKilled by Signal 110
1042ms7151kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?