提交记录 19140


用户 题目 状态 得分 用时 内存 语言 代码长度
user1 1001a. 测测你的排序2 Accepted 100 157.173 ms 48 KB C++14 191 B
提交时间 评测时间
2023-02-08 12:44:09 2023-02-08 12:44:11
#include <algorithm>

void sort(unsigned *a, int n) {
R:
for (int i=1; i<n; ++i) if(a[i-1]>a[i]) {
std::swap(a[i-1],a[i]);
for (; ++i<n; ) if(a[i-1]>a[i])std::swap(a[i-1],a[i]);
goto R;

}
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #1157.173 ms48 KBAcceptedScore: 100


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