Borderou de evaluare (job #3276986)

Utilizator not_anduAndu Scheusan not_andu Data 15 februarie 2025 11:03:49
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void MinHeap::heapify_down(int)': main.cpp:22:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | while (2 * idx + 1 < v.size()) { | ~~~~~~~~~~~~^~~~~~~~~~ main.cpp:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 26 | if (right < v.size() && v[right] < v[left]) | ~~~~~~^~~~~~~~~~ main.cpp: In member function 'void MinHeap::erase(int)': main.cpp:50:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | if (index < 0 || index >= v.size()) return; | ~~~~~~^~~~~~~~~~~ main.cpp:52:13: warning: unused variable 'number' [-Wunused-variable] 52 | int number = v[index]; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbIncorect00
30ms303kbIncorect00
41ms819kbIncorect00
50ms303kbIncorect00
614ms4349kbIncorect0
724ms10080kbIncorect0
819ms7139kbIncorect0
929ms8159kbIncorect0
1029ms8093kbIncorect0
Punctaj total0

Ceva nu functioneaza?