Pagini recente » Borderou de evaluare (job #1597481) | Borderou de evaluare (job #1213532) | Borderou de evaluare (job #2062015) | Borderou de evaluare (job #2215737) | Borderou de evaluare (job #3178082)
Borderou de evaluare (job #3178082)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::dijkstra(int, int, int, int)':
main.cpp:188: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]
188 | 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:231: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]
231 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::zeroOneBFS(int)':
main.cpp:260: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]
260 | for(int i = 0 ; i < this->adjacency[current].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::rusuoaica()':
main.cpp:428:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
428 | 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:457:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
457 | for(int i = 0; i < flights.size() ; i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni1(std::ifstream&, int, int*)':
main.cpp:476:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
476 | for(int i = 1 ; i < costs.size() ; i++){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:519: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]
519 | for(int i = 0 ; i < graf[currentNode].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::jzzhuAndCities()':
main.cpp:754:1: warning: no return statement in function returning non-void [-Wreturn-type]
754 | }
| ^
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:536:1: warning: control reaches end of non-void function [-Wreturn-type]
536 | }
| ^
main.cpp: In member function 'int Solution::apm2MaximumCost(Graph&, int, int, int)':
main.cpp:616:21: warning: 'weight' may be used uninitialized [-Wmaybe-uninitialized]
616 | return weight - 1;
| ^
main.cpp:596:9: note: 'weight' was declared here
596 | int weight;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Drumurile au noduri comune | 0 | 0 |
11 | 0ms | 303kb | Corect | 5 |
2 | 0ms | 303kb | Drumurile au noduri comune | 0 | 0 |
12 | 0ms | 303kb | Corect | 5 |
3 | 1ms | 561kb | Corect | 5 | 10 |
13 | 4ms | 1081kb | Corect | 5 |
4 | 1ms | 557kb | Corect | 5 | 0 |
14 | 10ms | 712kb | Killed by Signal 11 | 0 |
5 | 2ms | 557kb | Corect | 5 | 10 |
15 | 3ms | 819kb | Corect | 5 |
6 | 193ms | 20549kb | Corect | 5 | 10 |
16 | 0ms | 303kb | Corect | 5 |
7 | 158ms | 18882kb | Corect | 5 | 0 |
17 | 0ms | 303kb | Drumurile au noduri comune | 0 |
8 | 157ms | 18337kb | Corect | 5 | 0 |
18 | 89ms | 15290kb | Drumurile au noduri comune | 0 |
9 | 178ms | 20140kb | Corect | 5 | 0 |
19 | 74ms | 13869kb | Drumurile au noduri comune | 0 |
10 | 193ms | 20611kb | Corect | 5 | 0 |
20 | 79ms | 14626kb | Drumurile au noduri comune | 0 |
Punctaj total | 30 |