From fb633d2c1a9c4af1ecc6cf49a41859f5907ee644 Mon Sep 17 00:00:00 2001 From: feilong Date: Fri, 24 Feb 2023 16:00:09 +0800 Subject: [PATCH] format --- .../solution.cpp" | 7 ------- 1 file changed, 7 deletions(-) diff --git "a/exercises/huanhuilong/\344\270\255\347\255\211/\346\237\245\346\211\276\347\202\271\345\234\250\350\207\252\347\204\266\345\214\272\351\227\264\347\232\204\345\235\220\346\240\207/solution.cpp" "b/exercises/huanhuilong/\344\270\255\347\255\211/\346\237\245\346\211\276\347\202\271\345\234\250\350\207\252\347\204\266\345\214\272\351\227\264\347\232\204\345\235\220\346\240\207/solution.cpp" index 5e7f1e7..283b0cd 100644 --- "a/exercises/huanhuilong/\344\270\255\347\255\211/\346\237\245\346\211\276\347\202\271\345\234\250\350\207\252\347\204\266\345\214\272\351\227\264\347\232\204\345\235\220\346\240\207/solution.cpp" +++ "b/exercises/huanhuilong/\344\270\255\347\255\211/\346\237\245\346\211\276\347\202\271\345\234\250\350\207\252\347\204\266\345\214\272\351\227\264\347\232\204\345\235\220\346\240\207/solution.cpp" @@ -60,12 +60,10 @@ size_t findNatureRangeIndex(std::vector& rangeList, uint64_t point){ size_t idx = SIZE_MAX; while (first <= last) { size_t mid = (first + last) / 2; // compute mid point. - std::cout<<"xx:"<= max - 1) { uint64_t lastEnd = rangeList[n - 1].m_pos + rangeList[n - 1].m_length; - std::cout<<"point:"<=lastEnd) { idx = max - 1; } else { @@ -100,20 +98,15 @@ size_t findNatureRangeIndex(std::vector& rangeList, uint64_t point){ // 二分查找 if (point>=testEnd) { - std::cout<<"->"<