#include <ucw/getopt.h>
#include <ucw/md5.h>
#include <ucw/heap.h>
+#include <ucw/time.h>
#include <stdio.h>
#include <stdlib.h>
HEAP_INIT(struct elt, heap, n, H_LESS, HEAP_SWAP);
uns nn = n;
while (nn)
- HEAP_DELMIN(struct elt, heap, nn, H_LESS, HEAP_SWAP);
+ HEAP_DELETE_MIN(struct elt, heap, nn, H_LESS, HEAP_SWAP);
#undef H_LESS
}
HEAP_INIT(struct elt *, heap, n, H_LESS, HEAP_SWAP);
uns nn = n;
while (nn)
- HEAP_DELMIN(struct elt *, heap, nn, H_LESS, HEAP_SWAP);
+ HEAP_DELETE_MIN(struct elt *, heap, nn, H_LESS, HEAP_SWAP);
#undef H_LESS
}