Borderou de evaluare (job #2617721)

Utilizator VladAlexandruAnghelache Vlad VladAlexandru Data 22 mai 2020 18:05:15
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void heapify(int)': main.cpp:43:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l < heap.size() && heap[l].y < heap[i].y) ~~^~~~~~~~~~~~~ main.cpp:50:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (r < heap.size() && (heap[r].y < heap[i].y&&heap[r].y<heap[l].y)) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:120:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(x!=heap[i].x&&i<heap.size()) ~^~~~~~~~~~~~ main.cpp:101:9: warning: unused variable 'i' [-Wunused-variable] int i=0; ^ main.cpp: In function 'nod del_min()': main.cpp:78:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms131kbOK1010
22ms131kbIncorect00
33ms131kbIncorect00
412ms131kbIncorect00
53ms131kbIncorect00
6252ms393kbTime limit exceeded0
7250ms1343kbTime limit exceeded0
8251ms1044kbTime limit exceeded0
9253ms524kbTime limit exceeded0
10252ms524kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?