mirror of
https://github.com/tiennm99/HCMUT.git
synced 2026-08-21 07:23:35 +00:00
Fix Tut7
This commit is contained in:
@@ -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