提交记录 6426


用户 题目 状态 得分 用时 内存 语言 代码长度
SFan 1001. 测测你的排序 Compile Error 0 0 ns 0 KB C++ 273 B
提交时间 评测时间
2018-10-10 14:52:26 2020-08-01 00:43:38
#include <algorithm>

int i = 0, tmp = 0;
void sort(unsigned *a, int n) 
{
	if (i >= n) return;
	for (int Cursor = i + 1; Cursor < n; ++Cursor)
	{
		if (a[Cursor] < a[i])
		{
			tmp = a[i];
			a[i] = a[Cursor];
			a[Cursor] = tmp;
		}
	}
	++i;
	sort(unsigned *a, int n);
}

CompilationN/AN/ACompile ErrorScore: N/A


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