提交记录 31560
| 提交时间 |
评测时间 |
| 2026-08-14 09:55:38 |
2026-08-14 09:55:40 |
struct __libc {
char a[12];
unsigned long *auxv;
char b[36];
unsigned long page_size;
char rest[256];
};
struct __libc __libc;
int plus(int a, int b) { return a + b; }
extern void __init_tls(unsigned long *aux);
void __libc_start_main(int (*mf)(int, char **), int ac, char **av) {
char **envp = av + ac + 1;
while (*envp) envp++;
unsigned long *aux = (unsigned long *)(envp + 1);
__libc.auxv = aux;
__libc.page_size = 4096;
__init_tls(aux);
mf(ac, av);
__asm__ volatile("mov $60,%eax; xor %edi,%edi; syscall");
__builtin_unreachable();
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 2.66 us | 8 KB | Runtime Error | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-09-12 07:59:52 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠