Borderou de evaluare (job #2893478)

Utilizator stefanliciuLiciu Vasile-Stefan stefanliciu Data 25 aprilie 2022 23:38:34
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In member function 'void Heap::heapify_down(int)': main.cpp:61:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 61 | if (left_child < h.size() && h[left_child] < h[small]) | ~~~~~~~~~~~^~~~~~~~~~ main.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 66 | if (right_child < h.size() && h[right_child] < h[small]) | ~~~~~~~~~~~~^~~~~~~~~~ main.cpp: In member function 'void Heap::del(int)': main.cpp:96:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 96 | if (index <= h.size() - 1) | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:89:6: warning: unused variable 'x' [-Wunused-variable] 89 | int x = h[index]; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms184kbOK1010
21ms184kbOK1010
31ms184kbOK1010
41ms184kbKilled by Signal 1100
51ms184kbOK100
61ms184kbKilled by Signal 110
784ms1839kbOK10
81ms184kbKilled by Signal 70
91ms184kbKilled by Signal 110
101ms184kbKilled by Signal 110
Punctaj total30

Ceva nu functioneaza?