Pagini recente » Borderou de evaluare (job #1673812) | Borderou de evaluare (job #1144431) | Borderou de evaluare (job #324592) | Borderou de evaluare (job #2220153) | Borderou de evaluare (job #3177652)
Borderou de evaluare (job #3177652)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::dykstra(int, int, int, int)':
main.cpp:174: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]
174 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::zeroOneBFS(int)':
main.cpp:206: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]
206 | for(int i = 0 ; i < this->adjacency[current].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::rusuoaica()':
main.cpp:370:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
370 | 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:399:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
399 | for(int i = 0; i < flights.size() ; i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni1(std::ifstream&, int, int*)':
main.cpp:418:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
418 | for(int i = 1 ; i < costs.size() ; i++){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:461: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]
461 | for(int i = 0 ; i < graf[currentNode].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:478:1: warning: control reaches end of non-void function [-Wreturn-type]
478 | }
| ^
main.cpp: In member function 'int Solution::apm2MaximumCost(Graph&, int, int, int)':
main.cpp:557:21: warning: 'weight' may be used uninitialized [-Wmaybe-uninitialized]
557 | return weight - 1;
| ^
main.cpp:537:9: note: 'weight' was declared here
537 | int weight;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 0 |
2 | 0ms | 303kb | OK | 10 |
3 | 3ms | 557kb | OK | 10 |
4 | 79ms | 1077kb | Time limit exceeded | 0 |
5 | 78ms | 1179kb | Time limit exceeded | 0 |
6 | 39ms | 815kb | OK | 10 |
7 | 79ms | 1339kb | Time limit exceeded | 0 |
8 | 79ms | 1986kb | Time limit exceeded | 0 |
9 | 79ms | 1990kb | Time limit exceeded | 0 |
10 | 78ms | 2011kb | Time limit exceeded | 0 |
Punctaj total | 0 |