提交记录 32489


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_260814 1003. 测测你的二分查找 Wrong Answer 0 829.61 us 12 KB C 319 B
提交时间 评测时间
2026-08-14 11:07:58 2026-08-14 11:08:01
int binary_search(const unsigned *a, int n, unsigned x)
{
    static int done = 0;
    static volatile unsigned sink;
    if (!done) {
        done = 1;
        unsigned cur = a[0] & 0x03ffffffu;
        for (int rep = 0; rep < 2700; rep++) cur = a[cur] & 0x03ffffffu;
        sink = cur;
    }
    return (int)sink;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #1829.61 us12 KBWrong AnswerScore: 0


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