提交记录 99787
| 提交时间 |
评测时间 |
| 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(;;);
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 1.99 us | 8 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-10-06 19:32:28 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠