提交记录 21286
提交时间 |
评测时间 |
2024-02-20 15:46:32 |
2024-02-20 15:46:33 |
#include <algorithm>
void exchange(unsigned & x, unsigned & y) {
unsigned t = x;
x = y;
y = t;
}
void sort(unsigned * a, int n) {
for (int i = n - 1; i > 0; i--) {
for (int j = 0; j < i; j++) {
if (a[j] > a[j + 1]) {
std::swap(a[j], a[j + 1]);
}
}
}
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 105.359 ms | 48 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2025-07-20 10:38:09 | Loaded in 2 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠