提交记录 22436
提交时间 |
评测时间 |
2024-08-31 22:48:15 |
2024-08-31 22:48:19 |
#pragma GCC optimize("Ofast")
void f(unsigned*a,unsigned*b,int c,int d){int e[256]{};for(int f=0;f<c;f++)e[a[f]>>d&255]++;for(int f=1;f<256;f++)e[f]+=e[f-1];for(int f=c;f--;)b[--e[a[f]>>d&255]]=a[f];}
void sort(unsigned*a,int b){unsigned c[b];f(a,c,b,0),f(c,a,b,8),f(a,c,b,16),f(c,a,b,24);}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 991.276 ms | 762 MB + 972 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-11-24 00:32:42 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠