提交记录 6414


用户 题目 状态 得分 用时 内存 语言 代码长度
jhdjames37 1001a. 测测你的排序2 Accepted 100 5.735 ms 48 KB C++11 259 B
提交时间 评测时间
2018-10-09 13:04:30 2020-08-01 00:43:51
#include <stdio.h>
#include <stdlib.h>

int cmp(const void *a, const void *b) {
  return (*((unsigned *) a)) < (*((unsigned *) b)) ? -1 :
    (*((unsigned *) a)) > (*((unsigned *) b));
}
void sort(unsigned *a, int n) {
  qsort(a, n, sizeof (unsigned), cmp);
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #15.735 ms48 KBAcceptedScore: 100


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