Pagini recente » Borderou de evaluare (job #2878846) | Borderou de evaluare (job #492357) | Borderou de evaluare (job #1924833) | Borderou de evaluare (job #1880873) | Borderou de evaluare (job #2891331)
Borderou de evaluare (job #2891331)
Raport evaluator
Compilare:
main.cpp: In instantiation of 'void IndexHeap<T>::sift_down(IndexHeap<T>::HeapIndex) [with T = int; IndexHeap<T>::HeapIndex = int]':
main.cpp:75:13: required from 'void IndexHeap<T>::remove(IndexHeap<T>::ValIndex) [with T = int; IndexHeap<T>::ValIndex = unsigned int]'
main.cpp:101:30: required from here
main.cpp:34:28: warning: comparison of integer expressions of different signedness: 'IndexHeap<int>::HeapIndex' {aka 'int'} and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | while ((left_child < heap.size() && heap[node] > heap[left_child]) ||
| ~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:35:29: warning: comparison of integer expressions of different signedness: 'IndexHeap<int>::HeapIndex' {aka 'int'} and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | (right_child < heap.size() && heap[node] > heap[right_child])) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:36:29: warning: comparison of integer expressions of different signedness: 'IndexHeap<int>::HeapIndex' {aka 'int'} and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | if (right_child >= heap.size() ||
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | OK | 10 | 10 |
2 | 1ms | 184kb | Incorect | 0 | 0 |
3 | 1ms | 184kb | Incorect | 0 | 0 |
4 | 6ms | 307kb | Incorect | 0 | 0 |
5 | 1ms | 184kb | Incorect | 0 | 0 |
6 | 96ms | 1380kb | Incorect | 0 |
7 | 173ms | 5971kb | Incorect | 0 |
8 | 154ms | 4554kb | Incorect | 0 |
9 | 250ms | 2191kb | Time limit exceeded | 0 |
10 | 185ms | 2322kb | Incorect | 0 |
Punctaj total | 10 |