摘要:
/*二分查找(范围统计)*/#include #include#include#include#include#include#include#includeusing namespace std;#define maxn 1000int A[maxn];int lower_bound1(int *A,int x,int y,int v)//二分查找求下界{ int m; while(x=v)//看区别 y=m; else x=m+1; } return x;}int upper_bound1(int *A,in... 阅读全文
posted @ 2013-07-23 17:34
myth_HG
阅读(355)
评论(0)
推荐(0)
浙公网安备 33010602011771号