提交记录 28663


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

unsigned plus(unsigned a, unsigned b) {
  unsigned ret;
  asm("leal -1073741825(%1, %2), %0; cdq; andl $1073741825, %%edx; addl %0, %%edx"
    :"=a"(ret): "r"(a), "r"(b): "edx");
  return ret;
}

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 #1137.788 ms381 MB + 492 KBWrong AnswerScore: 0


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