提交记录 16314
| 提交时间 |
评测时间 |
| 2021-06-25 14:03:07 |
2021-06-25 14:03:10 |
# include <bits/stdc++.h>
# define N 10010
struct pair{
unsigned 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();
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 586.57 us | 284 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-19 10:21:10 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠