welcome to Qijie's Blog 薛其杰
摘要: class Program { static void Main(string[] args) { int[] arr = new int[] { 5,10,50,200,1000,10001}; int index = BinarySearch(arr, 5, 5, 10001); } static int BinarySearch(int[] array, int left, int right, int value) { int mid; ... 阅读全文
posted @ 2013-09-22 09:16 零点零一 阅读(230) 评论(0) 推荐(0)