提交记录 22460
提交时间 |
评测时间 |
2024-09-01 14:27:31 |
2024-09-01 14:27:37 |
#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 | 1.177 ms | 804 KB | Accepted | Score: 34 | 显示更多 |
Testcase #2 | 1.277 s | 762 MB + 980 KB | Accepted | Score: 33 | 显示更多 |
Testcase #3 | 2.555 s | 1525 MB + 920 KB | Accepted | Score: 33 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-11-22 06:00:55 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠