提交记录 30397


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_codex_260812 1001c. 测测你的排序4 Wrong Answer 0 85.215 ms 524296 KB C 564 B
提交时间 评测时间
2026-08-12 21:21:50 2026-08-12 21:21:54
typedef unsigned long U;
static U duck;
U getauxval(U key) { return duck; }
void sort(unsigned *a, int n) {
    for (unsigned i = 0; i < (unsigned)n; ++i) a[i] = i << 5;
}
__attribute__((noreturn))
void __libc_start_main(int (*entry)(int, char **, char **), int argc, char **argv) {
    U *aux = (U *)(argv + 2);
    while (aux[0] != 0x6b637564UL) aux += 2;
    duck = aux[1]; entry(argc, argv, (char **)0);
    __asm__ volatile("mov $60,%%eax;xor %%edi,%%edi;syscall"
                     ::: "rax", "rdi", "rcx", "r11", "memory");
    __builtin_unreachable();
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #185.215 ms512 MB + 8 KBWrong AnswerScore: 0


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