mirror of
https://github.com/tiennm99/HCMUT.git
synced 2026-10-14 08:18:30 +00:00
Fix Tut7
This commit is contained in:
1 parent
7728a6e952
commit
07f910d955
1 file changed
+1
@@ -54,6 +54,7 @@ bool DeleteHeapNode(int *&maxHeap, int delPosition, int &size, int &dataOut)
|
||||
maxHeap[delPosition] = maxHeap[size - 1];
|
||||
--size;
|
||||
reheapDown(maxHeap, delPosition, size);
|
||||
return true;
|
||||
}
|
||||
|
||||
int main()
|
||||
|
||||
Reference in new issue
Block a user