提交记录 556
| 用户 | 题目 | 状态 | 得分 | 用时 | 内存 | 语言 | 代码长度 |
|---|---|---|---|---|---|---|---|
| Nephren | 1001a. 测测你的排序2 | Compile Error | 0 | 0 ns | 0 KB | C | 233 B |
| 提交时间 | 评测时间 |
|---|---|
| 2018-06-20 14:31:06 | 2020-07-31 20:40:10 |
void swap(unsigned *a, unsigned *b)
{
unsigned t = *a; *a = *b; *b = t;
}
void sort(unsigned *a, int n)
{
for(int i = 0; i < n; i++)
for(int j = i + 1; j < n; j++)
if(a[j] < a[i])
unsigned t = a[i] ,a[i] = a[j], a[j] = t;
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-26 08:57:13 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠