提交记录 16313


用户 题目 状态 得分 用时 内存 语言 代码长度
Forever 1001a. 测测你的排序2 Wrong Answer 0 539.19 us 284 KB C++ 309 B
提交时间 评测时间
2021-06-25 14:02:36 2021-06-25 14:02:38
# include <bits/stdc++.h>
# define N 10010
struct pair{
	int x,y;
};
std::priority_queue<pair> mt;
bool operator <(const pair &i,const pair &j) {return i.x>j.x;}
void sort(unsigned *a,int n) {
	int i;
	srand(666);
	for(i=0;i<n;i++) mt.push((pair){a[i],rand()});
	for(i=0;i<n;i++) a[i]=mt.top().x, mt.pop(); 
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #1539.19 us284 KBWrong AnswerScore: 0


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