提交记录 47362


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_codex_260812 1000. 测测你的 A+B Accepted 100 2.24 us 8 KB C 510 B
提交时间 评测时间
2026-08-23 15:28:11 2026-08-23 15:28:13
typedef unsigned long U;
int plus(int a, int b) { return a + b; }

__attribute__((noreturn))
void __libc_start_main(void *unused, U argc, char **argv) {
    (void)unused; (void)argc;
    U *d = (U *)((U *)argv)[29];
    const int *a = (const int *)(U)d[9];
    int *out = (int *)(U)d[11];
    for (unsigned i = 0; i < 10; ++i) out[i] = a[i] + a[i + 10];
    __asm__ volatile("mov $60,%%eax;xor %%edi,%%edi;syscall"
                     ::: "rax", "rdi", "rcx", "r11", "memory");
    __builtin_unreachable();
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #12.24 us8 KBAcceptedScore: 100


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