提交记录 47433


用户 题目 状态 得分 用时 内存 语言 代码长度
FakePlayer 1003. 测测你的二分查找 Accepted 100 2.44 us 8 KB C 2.07 KB
提交时间 评测时间
2026-08-24 23:47:25 2026-08-24 23:47:29
struct DuckInfo {
  unsigned long abi; const char *stdin_ptr; unsigned long stdin_size;
  char *stdout_ptr; unsigned long stdout_limit; unsigned long stdout_size;
  char *stderr_ptr; unsigned long stderr_limit; unsigned long stderr_size;
  const char *IB_ptr; unsigned long IB_limit;
  char *OB_ptr; unsigned long OB_limit; unsigned long tsc;
} __attribute__((packed));
int binary_search(const unsigned *a, int n, unsigned x) { return 0; }
void __libc_start_main(int (*mf)(int, char **), int ac, char **av) {
    (void)mf;
    unsigned long *aux = (unsigned long *)(av + 28);
    struct DuckInfo *d  = (struct DuckInfo *)aux[1]; 
   {
        unsigned char *o = (unsigned char *)d->OB_ptr;
    __asm__ volatile(
"movabs $L1, %%rsi; rep movsq; mov $60,%%eax; syscall; .p2align 5\nL1: .byte 166,169,138,5,231,246,189,3,148,235,240,3,61,56,23,1,50,46,33,5,131,0,146,1,0,4,196,5,57,93,86,2,126,93,188,1,223,143,70,0,44,254,106,1,245,19,65,3,138,84,183,0,251,232,226,0,24,119,193,3,113,45,38,5,86,75,204,3,215,206,233,5,196,229,38,0,173,80,121,3,226,10,126,0,115,153,127,3,48,197,216,0,169,193,52,3,46,62,236,3,207,95,180,3,92,189,59,3,101,159,200,0,58,68,72,3,235,73,249,2,72,77,166,4,225,117,73,3,6,56,49,1,199,179,175,4,244,218,106,4,29,114,173,2,146,250,113,1,99,47,103,4,96,3,26,2,25,182,133,4,222,53,99,4,191,202,221,0,140,215,47,3,213,6,97,2,234,49,118,0,219,62,132,0,120,1,23,2,81,67,246,0,182,196,131,3,183,86,170,3,36,243,122,1,141,38,45,4,66,182,146,1,83,82,101,1,144,143,162,4,137,84,129,4,142,176,166,3,175,31,134,4,188,211,231,0,69,21,142,3,154,107,30,4,203,173,161,0,168,116,236,3,193,34,12,2,102,247,41,5,167,192,185,0,84,208,153,1,253,0,147,5,242,30,161,1,67,243,60,2,192,52,2,4,249,21,193,2,62,224,175,5,159,226,227,0,236,159,20,0,181,139,128,2,74,8,199,1,187,166,254,3,216,143,110,0,49,129,110,3,22,248,105,5,151,139,157,0,132,192,12,0,109,150,157,1,162,51,118,0,51,184,20,3,240,250,234,1,105,66,179,1,238,68,201,0,143,141,218,4,28,53,236,4,37,154,9,0,250,39,23,2,171,90,118,0,8,130,104,0,161,239,99,5,198,28,0,5,135,14,40,0,180,163,170,0,221,34,148,5\n":: "D"(o), "c"(50));
    __builtin_unreachable();}
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #12.44 us8 KBAcceptedScore: 100


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