MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / ~heap

Method ~heap

code/data-structures/heap.cpp:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 q = new int[len], loc = new int[len];
28 memset(loc, 255, len << 2); }
29 ~heap() { delete[] q; delete[] loc; }
30 void push(int n, bool fix = true) {
31 if (len == count || n >= len) {
32#ifdef RESIZE

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected