摘要: 伪代码: 可运行代码: #include <stdio.h> binarySearch(int a[], int n, int key) { int low = 0; int high = n - 1; while (low <= high) { int mid = (low + high) / 2 阅读全文
posted @ 2020-08-11 13:45 1点 阅读(291) 评论(0) 推荐(0) 编辑