摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _2分法{ class Program { static void Main(string[] args) { int[] a = { 1,3,4,5,7,9,10,25}; int destElement=10; int index = binarySearch(a, destElement); ... 阅读全文
posted @ 2013-03-21 23:37 s_p 阅读(203) 评论(0) 推荐(0)