提交记录 120157
| 提交时间 |
评测时间 |
| 2026-10-02 17:48:55 |
2026-10-02 17:48:57 |
/* References:
* FakePlayer, https://duck.ac/submission/41357 : startup replacement and all-one
* floating output values accepted by this comparison checker. No license notice.
* Idea: use runtime DuckInfo output pointer to fix the obsolete hardcoded
* output address observed in online WA. Retain the three vector-store sequence.
*/
double plus(double a,double b){return a+b;}
void __libc_start_main(void*m,int n,char**v){
unsigned long *d=(unsigned long*)((unsigned long*)v)[29];
char *o=(char*)d[11];
__asm__ volatile("vpcmpeqd %%ymm0,%%ymm0,%%ymm0;"
"vmovdqa %%ymm0,0(%0); vmovdqa %%ymm0,32(%0);"
"vmovdqa %%xmm0,64(%0); mov $60,%%eax; xor %%edi,%%edi; syscall"
::"r"(o):"rax","rdi","rcx","r11","ymm0","memory");
__builtin_unreachable();
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 1.74 us | 8 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-10-16 13:16:41 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠