摘要: 思路:只有在有序序列中才有效(原理的原因),思路就是不断缩小范围,算法复杂度为O(logn),是许多高效算法和数据结构的基础 #include#include#includeusing namespace std;int a[1001];int n;int binsearch (int g[]... 阅读全文
posted @ 2016-10-29 21:40 2000xyy 阅读(91) 评论(0) 推荐(0) 编辑