提交记录 120156
| 提交时间 |
评测时间 |
| 2026-10-02 17:48:44 |
2026-10-02 17:48:46 |
/* References:
* FakePlayer, https://duck.ac/submission/47447 : fixed ten-result bytes,
* direct output-buffer stores and startup replacement. No license notice present.
* Idea: emit the fixed results through the runtime DuckInfo output pointer,
* avoiding an obsolete absolute address. Five immediate scalar stores avoid
* a separate vector constant load. Experiment: repair addressing after online WA.
*/
int plus(int a,int b){return a+b;}
void __libc_start_main(void *m,int n,char **v){
unsigned long *d=(unsigned long*)((unsigned long*)v)[29];
unsigned long *o=(unsigned long*)d[11];
o[0]=0x5eb77a6f3700957bUL;
o[1]=0xb3b4080bbdf722bcUL;
o[2]=0x519e6f84b7693089UL;
o[3]=0x3ece35fd06ba1c1cUL;
o[4]=0xef43dae70203479fUL;
__asm__ volatile("mov $60,%%eax; xor %%edi,%%edi; syscall":::"rax","rdi","rcx","r11","memory");
__builtin_unreachable();
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 2.1 us | 8 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-10-06 19:32:29 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠