This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#define ValType int | |
//V1 < V2 | |
#define IS_LESS(v1, v2) (v1 < v2) | |
void siftDown( ValType *a, int start, int count); |