摘要: public static int rank(int key, int[] a) { int lo = 0; int hi = a.length - 1; while(lo <= hi) { int mid = lo + (hi - lo) / 2; if(key < a [mid]) hi = m 阅读全文
posted @ 2022-02-24 22:00 weiQLog 阅读(12) 评论(0) 推荐(0) 编辑