Pagini recente » Borderou de evaluare (job #579421) | Borderou de evaluare (job #261172) | Borderou de evaluare (job #2050942) | Borderou de evaluare (job #1271157) | Borderou de evaluare (job #3180302)
Borderou de evaluare (job #3180302)
Raport evaluator
Compilare:
main.cpp: In constructor 'Graph::Graph(int, std::vector<std::vector<int> >&, bool)':
main.cpp:101:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
101 | for(int i=0;i<connections.size();i++)
| ~^~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<std::pair<long long int, int> > Graph::dijk(int)':
main.cpp:126:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<std::pair<int, long long int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
126 | for(int i=1;i<connectionsWithCost.size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:141:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
141 | for (int i = 0; i < connectionsWithCost[head].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::shortestPathWithinKStops(int, int, int)':
main.cpp:171:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
171 | for(int i=0;i<connectionsWithCost[destination].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::BfsZeroOne(int)':
main.cpp:201:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
201 | for(int i=0;i<connectionsWithCost[head].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::findPath(int, int, std::vector<std::pair<long long int, int> >&, std::ofstream&)':
main.cpp:291:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
291 | for(int i=0;i<result.size();i++)
| ~^~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni1(int, std::vector<std::vector<std::pair<int, int> > >&, int*)':
main.cpp:300:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
300 | for(int i=1;i<=connections.size();i++)
| ~^~~~~~~~~~~~~~~~~~~~
main.cpp:312:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
312 | for(int i=0;i<connections[head].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni2(int, int, std::vector<std::vector<std::pair<int, int> > >&, int*)':
main.cpp:357:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
357 | for(int i=0;i<connections[current_node].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::rusuoaica()':
main.cpp:532:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
532 | for(int i=0;i<edges.size();i++)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'void Solution::oracol()':
main.cpp:571:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
571 | for(int i=0;i<edges.size();i++)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'std::vector<bool> Solution::distanceLimitedPathsExist(int, std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)':
main.cpp:640:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
640 | for(int i=0;i<queries.size();i++)
| ~^~~~~~~~~~~~~~~
main.cpp:646:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
646 | for(int i=0;i<queries.size();i++)
| ~^~~~~~~~~~~~~~~
main.cpp:650:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
| 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 | 1ms | 303kb | Corect! | 8 |
| 17 | 2ms | 557kb | Corect! | 8 |
| 18 | 2ms | 819kb | Corect! | 8 |
| 19 | 2ms | 557kb | Corect! | 8 |
| 20 | 2ms | 557kb | Corect! | 8 |
| Punctaj total | 100 |