Borderou de evaluare (job #3163241)

Utilizator adelina_15InfoAdelina Radoi adelina_15Info Data 31 octombrie 2023 09:44:43
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
210ms413kbKilled by Signal 1100
310ms417kbKilled by Signal 1100
410ms425kbKilled by Signal 1100
510ms413kbKilled by Signal 1100
610ms516kbKilled by Signal 110
713ms1482kbKilled by Signal 110
810ms1241kbKilled by Signal 110
911ms630kbKilled by Signal 110
1011ms638kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?