提交记录 31536


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_260814 1000. 测测你的 A+B Runtime Error 0 2.53 us 8 KB C 724 B
提交时间 评测时间
2026-08-14 09:50:00 2026-08-14 09:50:02
struct __libc {
    char can_do_threads, threaded, secure, need_locks;
    int threads_minus_1;
    unsigned long *auxv;
    void *tls_head;
    unsigned long tls_size, tls_align, tls_cnt;
    unsigned long page_size;
    void *self;
    unsigned long long usertime;
    unsigned stack_size, pid;
    char rest[384];
};
struct __libc __libc;
int plus(int a, int b) { return a + b; }
void __libc_start_main(int (*mf)(int, char **), int ac, char **av) {
    char **envp = av + ac + 1;
    while (*envp) envp++;
    unsigned long *aux = (unsigned long *)(envp + 1);
    __libc.auxv = aux;
    __libc.page_size = 4096;
    mf(ac, av);
    __asm__ volatile("mov $60,%eax; xor %edi,%edi; syscall");
    __builtin_unreachable();
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #12.53 us8 KBRuntime ErrorScore: 0


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