Borderou de evaluare (job #2891342)

Utilizator AndreiAncutaAndrei Ancuta AndreiAncuta Data 18 aprilie 2022 11:43:59
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

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:77:13: required from 'void IndexHeap<T>::remove(IndexHeap<T>::ValIndex) [with T = int; IndexHeap<T>::ValIndex = unsigned int]' main.cpp:103: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() && | ~~~~~~~~~~~^~~~~~~~~~~~~ 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 | (right_child < heap.size() && | ~~~~~~~~~~~~^~~~~~~~~~~~~ main.cpp:38: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] 38 | if (right_child >= heap.size() || | ~~~~~~~~~~~~^~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms184kbIncorect00
21ms184kbIncorect00
31ms184kbIncorect00
417ms323kbIncorect00
52ms184kbIncorect00
678ms1081kbIncorect0
7223ms5865kbIncorect0
8139ms3678kbIncorect0
9123ms1855kbIncorect0
10123ms1757kbIncorect0
Punctaj total0

Ceva nu functioneaza?