Borderou de evaluare (job #3129290)

Utilizator willOcanaru Mihai will Data 13 mai 2023 20:29:21
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void sift_down()': main.cpp:25:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 25 | while (2 * i + 1 < heap.size()) { | ~~~~~~~~~~^~~~~~~~~~~~~ main.cpp:29:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | if (right_child < heap.size() && heap[right_child] < heap[left_child]) { | ~~~~~~~~~~~~^~~~~~~~~~~~~ main.cpp:21:9: warning: unused variable 'x' [-Wunused-variable] 21 | int x = heap[0]; | ^ main.cpp: In function 'int main()': main.cpp:67:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 67 | if (index < heap.size()) { | ~~~~~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbIncorect00
30ms303kbIncorect00
44ms303kbIncorect00
50ms303kbIncorect00
6129ms753kbTime limit exceeded0
734ms1183kbIncorect0
8129ms1110kbTime limit exceeded0
9129ms761kbTime limit exceeded0
10129ms765kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?