Borderou de evaluare (job #3178047)

Utilizator Matoka26Dogaru Mihail Danut Matoka26 Data 30 noiembrie 2023 21:19:45
Problema Trilant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'int Graph::dijkstra(int, int, int, int)': main.cpp:186: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] 186 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<std::pair<int, int> > Graph::dijkstraPathAndCost(int)': main.cpp:226: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] 226 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<int> Graph::zeroOneBFS(int)': main.cpp:254: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] 254 | for(int i = 0 ; i < this->adjacency[current].size(); i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Solution::rusuoaica()': main.cpp:422:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 422 | 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:451:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 451 | for(int i = 0; i < flights.size() ; i++) | ~~^~~~~~~~~~~~~~~~ main.cpp: In member function 'int Solution::dragoni1(std::ifstream&, int, int*)': main.cpp:470:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 470 | for(int i = 1 ; i < costs.size() ; i++){ | ~~^~~~~~~~~~~~~~ main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)': main.cpp:513:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 513 | for(int i = 0 ; i < graf[currentNode].size() ; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'int Solution::jzzhuAndCities()': main.cpp:732:1: warning: no return statement in function returning non-void [-Wreturn-type] 732 | } | ^ main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)': main.cpp:530:1: warning: control reaches end of non-void function [-Wreturn-type] 530 | } | ^ main.cpp: In member function 'int Solution::apm2MaximumCost(Graph&, int, int, int)': main.cpp:610:21: warning: 'weight' may be used uninitialized [-Wmaybe-uninitialized] 610 | return weight - 1; | ^ main.cpp:590:9: note: 'weight' was declared here 590 | int weight; | ^~~~~~ main.cpp: In member function 'void Solution::trilant()': main.cpp:708:18: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 708 | trilantOutput(g,pathCostC,index); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:696:9: note: 'index' was declared here 696 | int index,minimum = INT_MAX; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbNu ai afisat drumurile complet00
110ms303kbNu ai afisat drumurile complet0
20ms303kbNu ai afisat drumurile complet00
120ms303kbNu ai afisat drumurile complet0
31ms557kbNu ai afisat drumurile complet00
138ms823kbNu ai afisat drumurile complet0
41ms557kbNu ai afisat drumurile complet00
1468ms66347kbMemory limit exceeded0
52ms557kbNu ai afisat drumurile complet00
154ms557kbNu ai afisat drumurile complet0
6188ms17510kbNu ai afisat drumurile complet00
160ms303kbNu ai afisat drumurile complet0
7151ms16326kbNu ai afisat drumurile complet00
170ms303kbNu ai afisat drumurile complet0
8138ms15421kbNu ai afisat drumurile complet00
18138ms66850kbMemory limit exceeded0
9173ms17182kbNu ai afisat drumurile complet00
1984ms11190kbKilled by Signal 110
10193ms17752kbNu ai afisat drumurile complet00
2081ms11485kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?