Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
77742 sh25_shenpy 冒泡排序模板 C++ Accepted 1 MS 256 KB 250 2025-12-26 14:44:21

Tests(10/10):


#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; }


Judgement Protocol: