提交记录 41885
| 提交时间 |
评测时间 |
| 2026-08-18 21:09:37 |
2026-08-18 21:09:39 |
typedef unsigned long u64;
struct DuckInfo{u64 abi_version;const char*stdin_ptr;u64 stdin_size;char*stdout_ptr;u64 stdout_limit;u64 stdout_size;char*stderr_ptr;u64 stderr_limit;u64 stderr_size;const char*IB_ptr;u64 IB_limit;char*OB_ptr;u64 OB_limit;u64 tsc_frequency;}__attribute__((packed));
static char big[64*4096] __attribute__((aligned(4096)));
int __libc_start_main(int(*mf)(int,char**,char**),int argc,char**argv,void*p4,void*p5,void*p6){
char**envp=argv+argc+1;while(*envp)envp++;
long*auxv=(long*)(envp+1);struct DuckInfo*d=0;
while(auxv[0]!=0){if(auxv[0]==0x6b637564){d=(struct DuckInfo*)auxv[1];break;}auxv+=2;}
unsigned long v = 0;
if (d) v = (((unsigned long)d >> ${4*k})) & 15;
if (v) __builtin_memset(big, 1, v * 4096);
__asm__ volatile("syscall"::"a"(60),"D"(0):"memory");
__builtin_unreachable();
}
int main(){return 0;}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-09-02 03:53:09 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠