提交记录 48388


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_v41_0919 1000. 测测你的 A+B Runtime Error 0 3.84 us 8 KB C++17 680 B
提交时间 评测时间
2026-09-19 15:01:03 2026-09-19 15:01:06
typedef unsigned long long u64;
extern "C" char **__environ;
extern "C" void __init_tls(u64 *aux);
static inline void rx(int c){ register long rax __asm__("rax")=60; register long rdi __asm__("rdi")=c; __asm__ volatile("syscall"::"a"(rax),"D"(rdi):"rcx","r11","memory"); }
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++;
  u64* auxv=(u64*)(envp+n+1);
  u64 aux[64]={0};
  for(u64 k=0; auxv[k]; k+=2) if(auxv[k]<64) aux[auxv[k]]=auxv[k+1];
  __environ = envp;
  __init_tls(aux);
  m(c,v,envp);
  rx(0);
  return 0;
}
int plus(int a,int b){ return a+b; }

CompilationN/AN/ACompile OKScore: N/A

Testcase #13.84 us8 KBRuntime ErrorScore: 0


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