Borderou de evaluare (job #3163240)

Utilizator adelina_15InfoAdelina Radoi adelina_15Info Data 31 octombrie 2023 09:43:41
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void Sterge(int)': main.cpp:37:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 37 | while(poz*2 < n && h[poz].first > h[poz*2].first || h[poz].first > h[poz*2+1].first) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:35:15: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized] 35 | swap(h[poz], h[n-1]); | ^ main.cpp:28:9: note: 'poz' was declared here 28 | int poz; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
29ms413kbKilled by Signal 1100
39ms425kbKilled by Signal 1100
410ms430kbKilled by Signal 1100
59ms421kbKilled by Signal 1100
610ms528kbKilled by Signal 110
711ms1462kbKilled by Signal 110
815ms954kbKilled by Signal 110
911ms630kbKilled by Signal 110
1011ms630kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?