提交记录 41914
| 提交时间 |
评测时间 |
| 2026-08-18 21:13:11 |
2026-08-18 21:13:12 |
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 = d ? (((unsigned long)d->stdout_ptr >> 12) & 15) : 0;
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 OK | Score: N/A | 显示更多 |
| Testcase #1 | 2.91 us | 20 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-09-02 02:52:44 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠