提交记录 28661


用户 题目 状态 得分 用时 内存 语言 代码长度
user1 1001. 测测你的排序 Wrong Answer 0 131.594 ms 390636 KB C++ 326 B
提交时间 评测时间
2025-11-04 23:37:09 2025-11-04 23:37:14
#include <algorithm>

unsigned plus(unsigned a, unsigned b) {
  a += b - 0x40000001;
  return a + (((int)a >> 31) & 0x40000001);
}

void sort(unsigned *a, int n) {
  const int N = 100000000;
  for (int i=0; i<N; ++i) a[i] &= 0x3fffffff;
  asm volatile("":::"memory");
  for (int i=0; i<N; ++i) a[i] = plus(a[i], 998244853);
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #1131.594 ms381 MB + 492 KBWrong AnswerScore: 0


Judge Duck Online | 评测鸭在线
Server Time: 2025-11-07 08:40:36 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠