提交记录 31361


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_260814 1000. 测测你的 A+B Runtime Error 0 4.82 us 8 KB C++ 763 B
提交时间 评测时间
2026-08-14 01:44:37 2026-08-14 01:44:42
#include <sys/auxv.h>
#include <stdint.h>
struct DuckInfo {
  uint64_t abi_version; const char *stdin_ptr; uint64_t stdin_size;
  char *stdout_ptr; uint64_t stdout_limit; uint64_t stdout_size;
  char *stderr_ptr; uint64_t stderr_limit; uint64_t stderr_size;
  const char *IB_ptr; uint64_t IB_limit;
  char *OB_ptr; uint64_t OB_limit; uint64_t tsc_frequency;
} __attribute__((packed));
__attribute__((constructor(65535))) static void corrupt() {
    DuckInfo *d = (DuckInfo*)getauxval(0x6b637564);
    if (d) {
        for (uint64_t i = 0; i < d->stdin_size && i < 2048; i++) ((char*)d->stdin_ptr)[i] = '9';
        if (d->IB_ptr) for (uint64_t i = 0; i < d->IB_limit && i < 2048; i++) ((char*)d->IB_ptr)[i] = '9';
    }
}
int plus(int a, int b) { return a + b; }

CompilationN/AN/ACompile OKScore: N/A

Testcase #14.82 us8 KBRuntime ErrorScore: 0


Judge Duck Online | 评测鸭在线
Server Time: 2026-09-12 09:00:30 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠