| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 166415 | Mino_XIE-谢文凯B班 | 常用排序法 | C++ | Accepted | 100 | 20 MS | 668 KB | 495 | 2024-08-19 14:17:42 |
#include<bits/stdc++.h> using namespace std; const int N = 1e6 + 10; const int INF = 0x3f3f3f3f; #define LL long long #define quick_cin_cout ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); int a[100005]; int main(){ quick_cin_cout; int n; cin >> n; for (int i = 0;i < n;i++){ cin >> a[i]; } sort(a,a + n); for (int i = 0;i < n;i++){ cout << a[i] << " "; } return 0; } /*Note:*********************** *****************************/ //coder:Mino_XIE1212