提交记录 39985


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_260814 router32. 测测你的路由器 Wrong Answer 25 8.179 ms 13728 KB C 696 B
提交时间 评测时间
2026-08-17 05:05:04 2026-08-17 05:05:06
#include "router.h"
#include <stdint.h>
#include <string.h>
#include <sys/auxv.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));
static char big[256*1024*1024] __attribute__((aligned(4096)));
void init(int n, int q, const RoutingTableEntry *a){ (void)n;(void)q;(void)a; }
unsigned query(unsigned addr){
    static int done = 0;
    if (!done) { done = 1; memset(big, 1, (size_t)1000 * 4096); }
    return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #1333.63 us3 MB + 964 KBAcceptedScore: 25

Testcase #22.532 ms13 MB + 416 KBWrong AnswerScore: 0

Testcase #35.364 ms13 MB + 416 KBWrong AnswerScore: 0

Testcase #48.179 ms13 MB + 416 KBWrong AnswerScore: 0


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