Pagini recente » Borderou de evaluare (job #2757138) | Borderou de evaluare (job #1339006) | Borderou de evaluare (job #2412207) | Borderou de evaluare (job #2937753) | Borderou de evaluare (job #3177682)
Borderou de evaluare (job #3177682)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::dykstra(int, int, int, int)':
main.cpp:175: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]
175 | for(int i = 0 ; i < this->adjacency[current].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graph::zeroOneBFS(int)':
main.cpp:207: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]
207 | for(int i = 0 ; i < this->adjacency[current].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Solution::rusuoaica()':
main.cpp:371:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
371 | 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:400:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
400 | for(int i = 0; i < flights.size() ; i++)
| ~~^~~~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni1(std::ifstream&, int, int*)':
main.cpp:419:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
419 | for(int i = 1 ; i < costs.size() ; i++){
| ~~^~~~~~~~~~~~~~
main.cpp: In member function 'int Solution::dragoni2(std::ifstream&, int, int*)':
main.cpp:462: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]
462 | for(int i = 0 ; i < graf[currentNode].size() ; i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:479:1: warning: control reaches end of non-void function [-Wreturn-type]
479 | }
| ^
main.cpp: In member function 'int Solution::apm2MaximumCost(Graph&, int, int, int)':
main.cpp:559:21: warning: 'weight' may be used uninitialized [-Wmaybe-uninitialized]
559 | return weight - 1;
| ^
main.cpp:539:9: note: 'weight' was declared here
539 | 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 | 1081kb | Time limit exceeded | 0 |
5 | 79ms | 1077kb | Time limit exceeded | 0 |
6 | 34ms | 806kb | OK | 10 |
7 | 79ms | 1142kb | Time limit exceeded | 0 |
8 | 79ms | 1990kb | Time limit exceeded | 0 |
9 | 79ms | 1990kb | Time limit exceeded | 0 |
10 | 79ms | 1990kb | Time limit exceeded | 0 |
Punctaj total | 0 |