Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77764 sh25_shenpy 选择排序 C++ 通过 0 MS 248 KB 283 2025-12-26 14:46:27

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


测评信息: