提交记录 48597


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_v41_0919 1000. 测测你的 A+B Wrong Answer 0 2.07 us 4 KB C++17 625 B
提交时间 评测时间
2026-09-19 15:17:48 2026-09-19 15:17:50

typedef unsigned long long u64;
static inline void rx(){ register long rax __asm__("rax")=60; register long rdi __asm__("rdi")=0; __asm__ volatile("syscall"::"a"(rax),"D"(rdi):"rcx","r11","memory"); }
static u64* g_auxv;
static char buf[64];
extern "C" int __libc_start_main(int (*m)(int,char**,char**), int c, char **v, void(*i)(void), void(*f)(void), void(*l)(void)) {
  char **envp=v+c+1; u64 n=0; while(envp[n]) n++;
  g_auxv=(u64*)(envp+n+1);
  volatile u64 found=0;
  for(u64* p=g_auxv; p[0]; p+=2) if(p[0]==0x6b637564ULL){ found=p[1]; break; }
  (void)found;

  rx(); return 0;
}
int plus(int a,int b){ return a+b; }

CompilationN/AN/ACompile OKScore: N/A

Testcase #12.07 us4 KBWrong AnswerScore: 0


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