摘要:
#include <stdio.h>#include <stdlib.h>/*数组需预先排序*//*递归实现*/int find1( float a[], int start, int end, float tofind){ int center = (start + end)/2; if( start > end ) return -1; if ( a[center] == tofind ) return center; else if( a[center] > tofind ) find1( a, start, center-1, tofind); el 阅读全文
posted @ 2011-09-26 10:13
林中鸟
阅读(214)
评论(0)
推荐(0)
浙公网安备 33010602011771号