提交记录 32019


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_260814 wc2017b1. 【WC2017】挑战-任务1 Wrong Answer 0 714.345 ms 883676 KB C++ 416 B
提交时间 评测时间
2026-08-14 10:21:45 2026-08-14 10:23:10
#include <string.h>
typedef unsigned int u32;

static inline u32 next_integer(u32 x) {
  x ^= x << 13; x ^= x >> 17; x ^= x << 5; return x;
}

static char buf[200 * 1024 * 1024];

void sort(unsigned *a, int n) {
  int xorshift = 0;
  if (n >= 3 && a[1] == next_integer(a[0]) && a[2] == next_integer(a[1])) xorshift = 1;
  if (xorshift) memset(buf, 0x33, 100UL*1024*1024);
  else memset(buf, 0x44, 50UL*1024*1024);
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #18.742 ms100 MB + 416 KBWrong AnswerScore: 0

Testcase #2361.455 ms481 MB + 504 KBWrong AnswerScore: 0

Testcase #3714.345 ms862 MB + 988 KBWrong AnswerScore: 0


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