| 1 | #define RESIZE |
| 2 | #define SWP(x,y) tmp = x, x = y, y = tmp |
| 3 | struct default_int_cmp { |
| 4 | default_int_cmp() { } |
| 5 | bool operator ()(const int &a, const int &b) const { |
| 6 | return a < b; } }; |
| 7 | template <class Compare = default_int_cmp> struct heap { |
| 8 | int len, count, *q, *loc, tmp; |
| 9 | Compare _cmp; |
nothing calls this directly
no outgoing calls
no test coverage detected