Pagini recente » Borderou de evaluare (job #823938) | Borderou de evaluare (job #768794) | Borderou de evaluare (job #565786) | Borderou de evaluare (job #3001993) | Borderou de evaluare (job #3177647)
Borderou de evaluare (job #3177647)
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: In member function 'int Solution::apm2MaximumCost(Graph, int, int, int)':
main.cpp:541:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
541 | for(int i = 0 ; i < edges.size() ; i++){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
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:560:21: warning: 'weight' may be used uninitialized [-Wmaybe-uninitialized]
560 | 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 | 78ms | 2113kb | Time limit exceeded | 0 |
5 | 78ms | 2019kb | Time limit exceeded | 0 |
6 | 78ms | 1634kb | Time limit exceeded | 0 |
7 | 78ms | 2301kb | Time limit exceeded | 0 |
8 | 78ms | 3088kb | Time limit exceeded | 0 |
9 | 78ms | 4169kb | Time limit exceeded | 0 |
10 | 78ms | 4165kb | Time limit exceeded | 0 |
Punctaj total | 0 |