提交记录 20378
用户 | 题目 | 状态 | 得分 | 用时 | 内存 | 语言 | 代码长度 |
---|---|---|---|---|---|---|---|
Aa654321 | 1001. 测测你的排序 | Compile Error | 0 | 0 ns | 0 KB | C++14 | 181 B |
提交时间 | 评测时间 |
---|---|
2023-10-13 21:20:11 | 2023-10-13 21:20:13 |
#include <bits/stdc++.h>
map<unsigned,int>m;
void sort(unsigned *a, int n) {
for(int i=0;i<n;i++){
++m[a[i]];
}
n=0;
for(auto v:m){
for(int i=1;i<=v.second;++i)
a[++n]=v.first;
}
}
Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2025-09-13 09:14:08 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠