摘要:
原链接 解释链接 bool check(int x) {/* ... */} // 检查x是否满足某种性质 // 区间[l, r]被划分成[l, mid]和[mid + 1, r]时使用: int bsearch_1(int l, int r) { while (l < r) { int mid = 阅读全文
posted @ 2023-02-07 04:21
垂序葎草
阅读(44)
评论(0)
推荐(0)
摘要:
20230221 乱试边界写对了 20230308 顺利通过 原题解 ###题目 约束 ###题解 class Solution { public: int search(vector<int>& nums, int target) { int n = nums.size(); int l = 0, 阅读全文
posted @ 2023-02-07 04:13
垂序葎草
阅读(14)
评论(0)
推荐(0)
摘要:
 阅读全文
posted @ 2023-02-07 04:06
垂序葎草
阅读(15)
评论(0)
推荐(0)
浙公网安备 33010602011771号