提交记录 12121
| 提交时间 |
评测时间 |
| 2020-03-15 01:10:48 |
2020-08-01 02:51:39 |
#include <bits/stdc++.h>
using namespace std;
int qzh[100000005],ans[100000005],mx;
void sort(unsigned *a, int n)
{
for(int i=0;i<n;i++) ++qzh[a[i]], mx=max(mx,(int)a[i]);
for(int i=1;i<=mx;i++) qzh[i]+=qzh[i-1];
for(int i=0;i<n;i++) ans[--qzh[a[i]]]=a[i];
for(int i=0;i<n;i++) a[i]=ans[i];
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 36.69 us | 36 KB | Runtime Error | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-26 14:44:38 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠