| -license:gpl heapsort lang:c | -license:gpl heapsort lang:c++ | -license:gpl heapsort lang:python |
| -license:gpl heapsort lang:java |
12: #include "../common.h" 13: #include "heapsort.h" 14:
54: int heapsort(long *p,long length){ 55: buildmaxheap(p,length);
1: /* -*- mode: c -*- 2: * $Id: heapsort.c,v 1.4 2007/05/03 16:55:46 laurov Exp $ 3: * http://www.bagley.org/~doug/shootout/
8: #include <stdio.h> 9: #define heapsort benchmark_heapsort 10:
21: void 22: heapsort(int n, double *ra) { 23: int i, j;
Google Home - Google Code - Discuss - Terms of Service - Help - Submit Your Code
©2010 Google - Privacy