提交记录 99787


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_cc_v41_260924 1000. 测测你的 A+B Accepted 100 1.99 us 8 KB C++17 648 B
提交时间 评测时间
2026-09-27 09:09:11 2026-09-27 09:09:12
struct DI { unsigned long abi; const char *s; unsigned long sn; char *o; unsigned long ol; unsigned long os;
  char *e; unsigned long el; unsigned long es; const char *IB; unsigned long IBl; char *OB; unsigned long OBl; unsigned long tsc; } __attribute__((packed));
int plus(int a,int b){return a+b;}
extern "C" void __libc_start_main(void*m,int argc,char**argv){
  unsigned long rr; __asm__ volatile("movq %%rsp,%0":"=r"(rr));
  DI*d=(DI*)(((rr+4095)&~4095UL)-112);
  const int*in=(const int*)d->IB; int*out=(int*)d->OB;
  for(int i=0;i<10;i++) out[i]=in[i]+in[i+10];
  __asm__ volatile("syscall"::"a"(60),"D"(0):"rcx","r11","memory"); for(;;);
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #11.99 us8 KBAcceptedScore: 100


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