Run ID:89714

提交时间:2024-09-04 20:53:18

#include <bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a; int d[a]; for(int i = 0; i < a; i++) cin>>d[i]; sort(d, d + a); for (int i = 0; i < a; i++) { cout << d[i] << " "; } return 0; }