Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
30549 | LYLAKIOI | 【S】T3 | C++ | 编译错误 | 0 | 0 MS | 0 KB | 570 | 2024-07-19 17:59:53 |
#include<bits/stdc++.h> #define up(i,l,r) for(int i=(l);i<=(r);++i) #define down(i,l,r) for(int i=(l);i>=(r);--i) #define pi pair<int,int> #define p1 first #define p2 second #define m_p make_pair #define p_b push_back typedef long long ll; using namespace std; const int maxn=3e6+10,mod=1e9+7; int a[maxn]; void slv(){ n=read();up(i,1,n)a[i]=read(); sort(a+1,a+n+1); up(i,1,n)cout<<a[i]<<' '; }int main(){ // freopen("seq.in","r",stdin),freopen("seq.out","w",stdout); slv(); fclose(stdin); fclose(stdout); return 0; }