提交记录 17814


用户 题目 状态 得分 用时 内存 语言 代码长度
Saisyc 1001a. 测测你的排序2 Accepted 100 127.83 ms 48 KB C++ 218 B
提交时间 评测时间
2022-07-17 19:37:41 2022-07-17 19:37:43
#include <algorithm>

void sort(unsigned *a, int n) {
	bool tag = true;
	while (tag) {
		tag = false;
		for (int i = 0; i < n - 1; ++i)
			if (a[i] > a[i + 1]) {
				tag = true;
				std::swap(a[i], a[i + 1]);
			}
	}
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #1127.83 ms48 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-16 22:26:57 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠