提交记录 19174


用户 题目 状态 得分 用时 内存 语言 代码长度
user1 1001c. 测测你的排序4 Accepted 100 23.654 s 522248 KB C++14 230 B
提交时间 评测时间
2023-02-19 23:35:41 2023-02-19 23:36:22
#include <algorithm>

void sort(unsigned *a, int n) {
	for (int d=n; d=d*.85; ) {
		for (int i=d; i<n; ++i) {
			int j = i;
			do {
				if (a[j-d]<=a[j]) break;
				std::swap (a[j-d], a[j]);
				j -=d;
			} while (j>=d);
		}
	}
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #123.654 s510 MB + 8 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2025-09-15 22:56:40 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠