Pagini recente » Borderou de evaluare (job #96756) | Borderou de evaluare (job #1681236) | Borderou de evaluare (job #878616) | Borderou de evaluare (job #565650) | Borderou de evaluare (job #3180304)
Borderou de evaluare (job #3180304)
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 | Incorect | 0 |
2 | 1ms | 303kb | Incorect | 0 |
3 | 1ms | 303kb | Incorect | 0 |
4 | 5ms | 819kb | OK | 10 |
5 | 9ms | 1081kb | OK | 10 |
6 | 14ms | 1654kb | OK | 10 |
7 | 19ms | 1892kb | OK | 10 |
8 | 29ms | 2252kb | Incorect | 0 |
9 | 29ms | 2281kb | OK | 10 |
10 | 29ms | 2252kb | OK | 10 |
Punctaj total | 60 |