Pagini recente » Borderou de evaluare (job #1264223) | Borderou de evaluare (job #1276447) | Borderou de evaluare (job #2028314) | Borderou de evaluare (job #2279383) | Borderou de evaluare (job #2892857)
Borderou de evaluare (job #2892857)
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:84:13: required from 'void IndexHeap<T>::remove(IndexHeap<T>::ValIndex) [with T = int; IndexHeap<T>::ValIndex = unsigned int]'
main.cpp:110:30: required from here
main.cpp:41: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]
41 | while ((left_child < heap.size() &&
| ~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:43: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]
43 | (right_child < heap.size() &&
| ~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:45: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]
45 | if (right_child >= heap.size() ||
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 1ms | 274kb | OK | 10 | 10 |
| 2 | 1ms | 184kb | OK | 10 | 10 |
| 3 | 12ms | 282kb | OK | 10 | 10 |
| 4 | 6ms | 307kb | OK | 10 | 10 |
| 5 | 1ms | 184kb | OK | 10 | 60 |
| 6 | 80ms | 942kb | OK | 10 |
| 7 | 196ms | 5959kb | OK | 10 |
| 8 | 150ms | 3649kb | OK | 10 |
| 9 | 166ms | 1720kb | OK | 10 |
| 10 | 164ms | 1851kb | OK | 10 |
| Punctaj total | 100 |