Pagini recente » Borderou de evaluare (job #2930700) | Borderou de evaluare (job #3287593) | Borderou de evaluare (job #2367268) | Borderou de evaluare (job #1107740) | Borderou de evaluare (job #3180323)
Borderou de evaluare (job #3180323)
Raport evaluator
Compilare:
main.cpp: In constructor 'Graph::Graph(int, std::vector<std::vector<int> >&, bool)':
main.cpp:109:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
109 | 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:134: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]
134 | for(int i=1;i<connectionsWithCost.size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:149: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]
149 | for (int i = 0; i < connectionsWithCost[head].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::shortestPathWithinKStops(int, int, int)':
main.cpp:179: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]
179 | for(int i=0;i<connectionsWithCost[destination].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::BfsZeroOne(int)':
main.cpp:209: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]
209 | 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:299:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
299 | 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:308: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]
308 | for(int i=1;i<=connections.size();i++)
| ~^~~~~~~~~~~~~~~~~~~~
main.cpp:320: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]
320 | 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:365: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]
365 | for(int i=0;i<connections[current_node].size();i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::rusuoaica()':
main.cpp:547:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
547 | for(int i=0;i<edges.size();i++)
| ~^~~~~~~~~~~~~
main.cpp: In member function 'void Solution::oracol()':
main.cpp:586:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
586 | 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:655:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
655 | for(int i=0;i<queries.size();i++)
| ~^~~~~~~~~~~~~~~
main.cpp:661:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
661 | for(int i=0;i<queries.size();i++)
| ~^~~~~~~~~~~~~~~
main.cpp:665: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 | 1888kb | OK | 10 |
8 | 28ms | 2244kb | Incorect | 0 |
9 | 24ms | 2232kb | OK | 10 |
10 | 29ms | 2256kb | OK | 10 |
Punctaj total | 60 |