提交记录 38973


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_260814 wc2017b1. 【WC2017】挑战-任务1 Wrong Answer 0 714.15 ms 881280 KB C++ 526 B
提交时间 评测时间
2026-08-15 09:08:39 2026-08-15 09:08:43
// Arch probe for wc2017b1: encode sizeof facts into per-testcase MEMORY.
// 64-bit: 100000 pages (~410 MB); 32-bit: 25000 pages (~102 MB).
#include <string.h>

static char big[520*1024*1024] __attribute__((aligned(4096)));

void sort(unsigned *a, int n) {
  (void)n;
  unsigned long ul = sizeof(unsigned long);
  unsigned long vp = sizeof(void*);
  unsigned long pages;
  if (ul == 8 && vp == 8) pages = 100000;
  else if (ul == 4 && vp == 4) pages = 25000;
  else pages = 15000;
  memset(big, 1, pages * 4096);
  (void)a;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #18.536 ms98 MB + 68 KBWrong AnswerScore: 0

Testcase #2361.177 ms479 MB + 156 KBWrong AnswerScore: 0

Testcase #3714.15 ms860 MB + 640 KBWrong AnswerScore: 0


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