提交记录 13147


用户 题目 状态 得分 用时 内存 语言 代码长度
panyf 1001a. 测测你的排序2 Compile Error 0 0 ns 0 KB C++ 222 B
提交时间 评测时间
2020-07-27 10:42:55 2020-08-01 03:04:27
#include <algorithm>
using namespace std;
void sort(unsigned *a, int n) {
	priority_queue<unsigned,vector<unsigned>,greater<unsigned> >q;
	unsigned i;
	for(i=0;i<n;++i)q.push(a[i]);
	for(i=0;i<n;++i)a[i]=q.top(),q.pop();
}

CompilationN/AN/ACompile ErrorScore: N/A


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