提交记录 28664
| 用户 |
题目 |
状态 |
得分 |
用时 |
内存 |
语言 |
代码长度 |
| user1 |
1001. 测测你的排序 |
Wrong Answer |
0 |
135.36 ms |
390636 KB |
C++ |
439 B |
| 提交时间 |
评测时间 |
| 2025-11-04 23:47:56 |
2025-11-04 23:47:59 |
#include <algorithm>
unsigned plus(unsigned a, unsigned b) {
unsigned ret;
asm("leal -1073741825(%1, %2), %0; movl %0, %%edx; sarl $31, %%edx; 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);
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 135.36 ms | 381 MB + 492 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2025-11-07 08:37:49 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠