Pagini recente » Borderou de evaluare (job #2228846) | Borderou de evaluare (job #215970) | Borderou de evaluare (job #250570) | Borderou de evaluare (job #419476) | Borderou de evaluare (job #3177622)
Borderou de evaluare (job #3177622)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::dykstra(int, int, int, int)':
main.cpp:150: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]
150 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::zeroOneBFS(int)':
main.cpp:182: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]
182 | for(int i = 0 ; i < this->adjacency[current].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::rusuoaica()':
main.cpp:336:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
336 | 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:365:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
365 | for(int i = 0; i < flights.size() ; i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni1(std::ifstream&, int, int*)':
main.cpp:384:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
384 | for(int i = 1 ; i < costs.size() ; i++){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:427: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]
427 | for(int i = 0 ; i < graf[currentNode].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:444:1: warning: control reaches end of non-void function [-Wreturn-type]
444 | }
| ^
main.cpp: In member function 'int Solution::apm2MaximumCost(Graph, int, int, int)':
main.cpp:522:21: warning: 'weight' may be used uninitialized [-Wmaybe-uninitialized]
522 | return weight - 1;
| ^
main.cpp:501:9: note: 'weight' was declared here
501 | int weight;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | Incorect | 0 | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 1ms | 557kb | Incorect | 0 |
4 | 59ms | 1552kb | Incorect | 0 |
5 | 54ms | 1466kb | Incorect | 0 |
6 | 14ms | 1220kb | Incorect | 0 |
7 | 43ms | 1687kb | Incorect | 0 |
8 | 78ms | 2215kb | Time limit exceeded | 0 |
9 | 78ms | 2912kb | Time limit exceeded | 0 |
10 | 78ms | 2912kb | Time limit exceeded | 0 |
Punctaj total | 0 |