Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
89714 张曦 19从小到大进行排序 C++ Accepted 1 MS 268 KB 273 2024-09-04 20:53:18

Tests(10/10):


Code:

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