提交记录 27899 
	
	
	
		
			
			
				
					| 提交时间 | 评测时间 | 
				
					| 2025-02-12 11:15:08 | 2025-02-12 11:15:10 | 
			
			
			
			
			
				
				#include <algorithm>
void sort(unsigned *a, int n) {
	std::array<int, 130000> cnt;
	for (int i = 0; i < n; i++) {
		cnt[a[i]]++;
	}
	for (int i = 1; i < 130000; i++) {
		cnt[i] += cnt[i - 1];
	}
	for (int i = 0; i < 130000; i++) {
		for (int j = 0; j < cnt[i] - (i ? cnt[i - 1] : 0); i++) {
			a[cnt[i] - j] = i;
		}
	}
}
				
				
				| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 | 
 
		 
	 
	
	
	
		
			Judge Duck Online | 评测鸭在线 
			Server Time: 2025-11-01 06:35:05 | Loaded in 1 ms |  Server Status  
			个人娱乐项目,仅供学习交流使用 |  捐赠