提交记录 872


用户 题目 状态 得分 用时 内存 语言 代码长度
OoXoxoXoO 1003. 测测你的二分查找 Compile Error 0 0 ns 0 KB C 294 B
提交时间 评测时间
2018-06-20 17:25:18 2020-07-31 20:43:51
int binary_search(const unsigned *a, int n, unsigned value)
{
    while (n > 0) {
        const unsigned * it = first; 
        step = n / 2; 
        it += step;
        if (*it < value) {
            a = ++it; 
            n -= step + 1; 
        }
        else
            n = step;
    }
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-25 20:11:32 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠