Pagini recente » Borderou de evaluare (job #43347) | Borderou de evaluare (job #2667593) | Borderou de evaluare (job #1613607) | Borderou de evaluare (job #2358302) | Borderou de evaluare (job #3178050)
Borderou de evaluare (job #3178050)
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, long long 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:733:1: warning: no return statement in function returning non-void [-Wreturn-type]
733 | }
| ^
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:709:18: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized]
709 | 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 |
1 | 0ms | 303kb | Corect | 5 | 10 |
11 | 0ms | 303kb | Corect | 5 |
2 | 0ms | 303kb | Corect | 5 | 10 |
12 | 0ms | 303kb | Corect | 5 |
3 | 1ms | 557kb | Corect | 5 | 10 |
13 | 4ms | 1081kb | Corect | 5 |
4 | 1ms | 557kb | Corect | 5 | 0 |
14 | 10ms | 716kb | Killed by Signal 11 | 0 |
5 | 2ms | 557kb | Corect | 5 | 10 |
15 | 4ms | 819kb | Corect | 5 |
6 | 227ms | 20570kb | Corect | 5 | 10 |
16 | 0ms | 303kb | Corect | 5 |
7 | 153ms | 18817kb | Corect | 5 | 10 |
17 | 0ms | 303kb | Corect | 5 |
8 | 142ms | 18194kb | Corect | 5 | 0 |
18 | 95ms | 66805kb | Memory limit exceeded | 0 |
9 | 193ms | 20013kb | Corect | 5 | 0 |
19 | 43ms | 13344kb | Killed by Signal 11 | 0 |
10 | 202ms | 20656kb | Corect | 5 | 0 |
20 | 44ms | 13651kb | Killed by Signal 11 | 0 |
Punctaj total | 60 |