提交记录 31537


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_260814 1000. 测测你的 A+B Runtime Error 0 3.02 us 8 KB C 789 B
提交时间 评测时间
2026-08-14 09:51:04 2026-08-14 09:51:06
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; }
extern void __init_tls(unsigned long *aux);
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;
    __init_tls(aux);
    mf(ac, av);
    __asm__ volatile("mov $60,%eax; xor %edi,%edi; syscall");
    __builtin_unreachable();
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #13.02 us8 KBRuntime ErrorScore: 0


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