Pagini recente » Borderou de evaluare (job #1538176) | Borderou de evaluare (job #3179654) | Borderou de evaluare (job #3181941) | Borderou de evaluare (job #3208548) | Borderou de evaluare (job #3176591)
Borderou de evaluare (job #3176591)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::dykstra(int, int, int, int)':
main.cpp:151: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]
151 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::zeroOneBFS(int)':
main.cpp:183: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]
183 | for(int i = 0 ; i < this->adjacency[current].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::rusuoaica()':
main.cpp:335:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
335 | 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:364:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
364 | for(int i = 0; i < flights.size() ; i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni1(std::ifstream&, int, int*)':
main.cpp:383:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
383 | for(int i = 1 ; i < costs.size() ; i++){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:432: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]
432 | for(int i = 0 ; i < graf[currentNode].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:449:1: warning: control reaches end of non-void function [-Wreturn-type]
449 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Corect! | 2 |
2 | 0ms | 303kb | Corect! | 2 |
3 | 0ms | 303kb | Corect! | 2 |
4 | 0ms | 303kb | Corect! | 2 |
5 | 0ms | 303kb | Corect! | 2 |
6 | 0ms | 303kb | Corect! | 2 |
7 | 1ms | 557kb | Corect! | 2 |
8 | 1ms | 557kb | Corect! | 2 |
9 | 1ms | 557kb | Corect! | 2 |
10 | 1ms | 557kb | Corect! | 2 |
11 | 0ms | 303kb | Corect! | 8 |
12 | 0ms | 303kb | Corect! | 8 |
13 | 0ms | 303kb | Corect! | 8 |
14 | 0ms | 303kb | Corect! | 8 |
15 | 1ms | 303kb | Corect! | 8 |
16 | 2ms | 303kb | Corect! | 8 |
17 | 3ms | 557kb | Corect! | 8 |
18 | 3ms | 819kb | Corect! | 8 |
19 | 3ms | 557kb | Corect! | 8 |
20 | 3ms | 557kb | Corect! | 8 |
Punctaj total | 100 |