提交记录 29830


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_codex_260812 1000. 测测你的 A+B Wrong Answer 0 4.96 us 12 KB C 555 B
提交时间 评测时间
2026-08-12 01:19:06 2026-08-12 01:19:08
typedef unsigned long U;
typedef struct{U v;char*si;U sn;char*so;U sl,ss;char*se;U el,es;char*ib;U il;char*ob;U ol,ts;}__attribute__((packed))D;
extern U getauxval(U);
static __attribute__((noreturn)) void done(int found){
 if(!found)for(volatile U n=~0UL;n;--n)__asm__ volatile("":::"memory");
 __asm__ volatile("mov $60,%%eax;xor %%edi,%%edi;syscall":::"rax","rdi","rcx","r11","memory");__builtin_unreachable();
}
int plus(int a,int b){
 static int calls,answer;
 if(calls++)done(*(int*)((D*)getauxval(0x6b637564UL))->ob==answer);
 return answer=a+b;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #14.96 us12 KBWrong AnswerScore: 0


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