Pagini recente » Borderou de evaluare (job #2281521) | Borderou de evaluare (job #2089297) | Borderou de evaluare (job #1260162) | Borderou de evaluare (job #3177030) | Borderou de evaluare (job #3180301)
Borderou de evaluare (job #3180301)
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 |
Punctaj/grupa |
1 | 0ms | 303kb | Corect | 5 | 10 |
11 | 0ms | 303kb | Corect | 5 |
2 | 0ms | 303kb | Corect | 5 | 10 |
12 | 0ms | 303kb | Corect | 5 |
3 | 1ms | 557kb | Corect | 5 | 10 |
13 | 5ms | 1867kb | Corect | 5 |
4 | 1ms | 557kb | Corect | 5 | 10 |
14 | 2ms | 819kb | Corect | 5 |
5 | 1ms | 819kb | Corect | 5 | 10 |
15 | 2ms | 1081kb | Corect | 5 |
6 | 197ms | 32636kb | Corect | 5 | 10 |
16 | 0ms | 303kb | Corect | 5 |
7 | 167ms | 28643kb | Corect | 5 | 10 |
17 | 0ms | 303kb | Corect | 5 |
8 | 152ms | 26619kb | Corect | 5 | 10 |
18 | 68ms | 20684kb | Corect | 5 |
9 | 187ms | 31162kb | Corect | 5 | 10 |
19 | 59ms | 19464kb | Corect | 5 |
10 | 197ms | 33173kb | Corect | 5 | 10 |
20 | 59ms | 19791kb | Corect | 5 |
Punctaj total | 100 |