提交记录 9218
| 提交时间 |
评测时间 |
| 2019-04-20 09:40:31 |
2020-08-01 01:34:15 |
#define N 100000010
#define wys(cnt,op) \
int chc=-1; \
for(i=0;i<256;++i) pos[i]=B+chc,sum+=cnt[i];\
for(i=0;i<n;i+=4){ \
*(++pos[A[i]op])=A[i] \
*(++pos[A[i+1]op])=A[i+1] \
*(++pos[A[i+2]op])=A[i+2] \
*(++pos[A[i+3]op])=A[i+3] \
} \
T=A;A=B;B=T;
unsigned int b0[N],b1[N],b2[N],b3[N],b[N];
void sort(unsigned int *a, int n){
register unsigned int i;
for(i=0;i<n;++i)
b0[a[i]&255]++;
b1[a[i]>>8&255]++;
b2[a[i]>>16&255]++;
b3[a[i]>>24&255]++;
unsigned int *A=a,*B=b,*T;
gao(b0,&255);
gao(b1,>>8&255);
gao(b2,>>16&255);
gao(b3,>>24&&255);
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-04 16:25:18 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠