提交记录 20776
提交时间 |
评测时间 |
2023-12-30 18:08:50 |
2023-12-30 18:08:52 |
#include<bits/stdc++.h>
using namespace std;
#define int unsigned
const int siz=10,len=30;
int b[(1<<siz)*len],*p[1<<siz];
void sort(int *a,signed n)
{
for(int i=0; i<(1<<siz); ++i) p[i]=b+i*len;
for(int i=0; i<n; ++i) (*p[a[i]>>32-siz]++)=a[i];
for(int i=0; i<(1<<siz); ++i)
{
sort(b+i*len,p[i]);
int *wz=b+i*len;
while(wz!=p[i]) *a++=*wz++;
}
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 284.84 us | 200 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-12-05 10:20:07 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠