| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77742 | sh25_shenpy | 冒泡排序模板 | C++ | 通过 | 1 MS | 256 KB | 250 | 2025-12-26 14:44:21 |
#include<bits/stdc++.h> using namespace std; int a[10000010]; int n; int main(){ cin >> n; for (int i = 1; i <= n; i++){ cin >> a[i]; } sort(a + 1, a + n + 1); for (int i = 1; i <= n; i++){ cout << a[i] << " "; } return 0; }