提交记录 20699 
	
	
	
		
			
			
				
					| 提交时间 | 评测时间 | 
				
					| 2023-12-03 08:52:15 | 2023-12-03 08:52:17 | 
			
			
			
			
			
				
				#include <algorithm>
template <typename It>
void insert_sort(It begin, It end)
{
    for (auto it1 = begin+1;it1 < end;it1++)
    {
        auto it2 = it1-1;
        auto &cur = it1[0];
        while (it2 >= begin&&cur<it2[0])
        {
            it2[1] = it2[0];
            it2--;
        }
        it2[1]=cur;
    }
}
void sort(unsigned *a, int n) {
	insert_sort(a, a + n);
}
				
				
				| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 | 
| Testcase #1 | 23.37 us | 48 KB | Wrong Answer | Score: 0 | 显示更多 | 
 
		 
	 
	
	
	
		
			Judge Duck Online | 评测鸭在线 
			Server Time: 2025-10-31 22:21:22 | Loaded in 1 ms |  Server Status  
			个人娱乐项目,仅供学习交流使用 |  捐赠