Borderou de evaluare (job #3129354)
Raport evaluator
Compilare:
main.cpp: In function 'void heapify(std::vector<int>&, int)':
main.cpp:33:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if(left < heap.size() && heap[left] < heap[largest])
| ~~~~~^~~~~~~~~~~~~
main.cpp:38:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if(right < heap.size() && heap[right] < heap[largest])
| ~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'void delete_element(std::vector<int>&, int)':
main.cpp:64:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | while(i < heap.size() && heap[i] != key)
| ~~^~~~~~~~~~~~~
main.cpp:69:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | if(i < heap.size())
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int searchVectorPairs(std::vector<std::pair<int, int> >, int)':
main.cpp:81:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | while(i < v.size() && v[i].second != key)
| ~~^~~~~~~~~~
main.cpp:86:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | if(i < v.size())
| ~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 10 |
2 | 0ms | 303kb | OK | 10 | 10 |
3 | 0ms | 303kb | OK | 10 | 10 |
4 | 4ms | 303kb | OK | 10 | 10 |
5 | 0ms | 303kb | Incorect | 0 | 0 |
6 | 129ms | 917kb | Time limit exceeded | 0 |
7 | 128ms | 2428kb | Time limit exceeded | 0 |
8 | 129ms | 1859kb | Time limit exceeded | 0 |
9 | 129ms | 1097kb | Time limit exceeded | 0 |
10 | 129ms | 1097kb | Time limit exceeded | 0 |
Punctaj total | 40 |