摘要:
int heapsort(int heap[],int sizeheap)//堆排序部分 本题未应用{ int i,t; for(i=sizeheap;i>=2;i--) { t=heap[sizeheap]; heap[sizeheap]=heap[1]; heap[1]=t; sizeheap=sizeheap-1; maxheap (heap, sizeheap, 1); }}公主之魔镜魔镜Time Limit: 1000 MSMemory Limit: 32768 KTotal Submit:... 阅读全文
posted @ 2012-12-09 18:57
孤独是一种力量
阅读(194)
评论(0)
推荐(0)

浙公网安备 33010602011771号