提交记录 19179


用户 题目 状态 得分 用时 内存 语言 代码长度
user1 1001c. 测测你的排序4 Wrong Answer 0 18.082 s 522248 KB C++14 229 B
提交时间 评测时间
2023-02-20 00:00:50 2023-02-20 00:01:13
#include <algorithm>

void sort(unsigned *a, int n) {
	for (int d=n; d=d*.35; ) {
		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 #118.082 s510 MB + 8 KBWrong AnswerScore: 0


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