提交记录 47367


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_codex_260812 1000. 测测你的 A+B Accepted 100 2.23 us 8 KB C 781 B
提交时间 评测时间
2026-08-23 15:29:41 2026-08-23 15:29:43
typedef unsigned long U;
typedef int V8 __attribute__((vector_size(32), aligned(1)));
typedef int V4 __attribute__((vector_size(16), aligned(1)));
typedef int V2 __attribute__((vector_size(8), aligned(1)));
int plus(int a, int b) { return a + b; }

__attribute__((noreturn, target("avx2")))
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];
    *(V8 *)(out + 0) = *(const V8 *)(a + 0) + *(const V8 *)(a + 10);
    *(V2 *)(out + 8) = *(const V2 *)(a + 8) + *(const V2 *)(a + 18);
    __asm__ volatile("mov $60,%%eax;xor %%edi,%%edi;syscall"
                     ::: "rax", "rdi", "rcx", "r11", "memory");
    __builtin_unreachable();
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #12.23 us8 KBAcceptedScore: 100


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