Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
79843 sh25_zhangjiajia 选择排序 C++ Accepted 0 MS 256 KB 283 2026-01-04 14:47:11

Tests(1/1):


#include <bits/stdc++.h> using namespace std ; int n ; int a[10010] ; 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: